-
Notifications
You must be signed in to change notification settings - Fork 266
Open
Description
Describe the bug
I've stumbled upon weird bug while debugging my STM32 project. Whenever I want to view struct elements in an array (or struct in a struct - it really doesn't matter), I encounter this behavior.
CleanShot.2024-12-09.at.6.20.04.mp4
To Reproduce
Steps to reproduce the behavior:
- Ensure an array of structs is present in your code.
- Start debug session.
- Add your array into live watch.
- Try to see nested struct values.
- See issue occurring sometimes.
Expected behavior
Variables should reliably open.
Environment:
- Cortex-Debug Version: 1.21.1 (latest from VSCode extension store.
- OS: MacOS 15.1.1
- GDB Version: GNU gdb (Arm GNU Toolchain 13.3.Rel1 (Build arm-13.24)) 14.2.90.20240526-git
- Compiler Toolchain Version: gcc version 13.3.1 20240614 (Arm GNU Toolchain 13.3.Rel1 (Build arm-13.24))
launch.json is as follows:
{
"name": "Attach CM7 - ST-Link",
"cwd": "${workspaceFolder}",
"type": "cortex-debug",
"executable": "${command:STM32VSCodeExtension.dualCoreCM7Target}",
"request": "attach",
"servertype": "stlink",
"device": "STM32H747BITx",
"interface": "swd",
"serialNumber": "",
"svdFile": "${config:STM32VSCodeExtension.cubeCLT.path}/STMicroelectronics_CMSIS_SVD/STM32H747_CM7.svd",
"stm32cubeprogrammer":"${config:STM32VSCodeExtension.cubeCLT.path}/STM32CubeProgrammer/bin",
"v1": false,
"serverArgs": [
"-m","0",
"-t", "-s"
],
},Text from Debug Console
debug_console.log
Additional context
The video and log are from different debug sessions.
Metadata
Metadata
Assignees
Labels
No labels