cortex-debug: IAR executables debugging no longer working
Hi there, 2 days ago everything was working fine, then i think the microsoft c++ extension updated and since then i cannot get cortex-debug to work. The debug console does not update when i start debugging and there is no entry under the output->remote adapter that i used to be able to see when there was a problem with segger. Furthermore I have code insiders installed separately and when the issue presented itself in this version of code I was still able to debug using the insider version with the same workspace and output file. Then the cpp plugin updated and it all stopped in my insiders copy too. I have removed the cpp extension and re-added it but that has not resolved the issue (same with cortex-debug)
code 1.43.2
my launch is like this
{
"name": "App",
"cwd": "${workspaceRoot}",
"executable": "${workspaceRoot}\\app\\${config:iarvsc.configuration}\\Exe\\${config:iarvsc.configuration}.out",
"request": "launch",
"type": "cortex-debug",
"svdFile": "${workspaceRoot}/STM32F4/STM32F40x.svd",
"servertype": "jlink",
"device": "STM32F407VE",
"interface": "jtag",
"showDevDebugOutput": true,
"runToMain": true
},
Edit: I have just enabled showDevDebugOutput i can see the following in the debug adapter:
000000016: Reading symbols from 'C:\xx\yyy\(folder with brackets)\Exe\(filename with spaces and brackets).out' but it just sits there and doesn't proceeed.
Any ideas?
Thanks for you efforts!
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 1
- Comments: 23 (1 by maintainers)
Could the IAR users try out the following pre-release and report back?
https://github.com/haneefdm/cortex-debug/releases/tag/v0.3.7-pre2
Download the VSIX file and install it manually. In case you don’t know how to, some instructions below
https://community.particle.io/t/how-to-install-a-vscode-extension-from-a-vsix-file/51014
Thank you in advance for your help