2025-04-09 12:00 AM
It turns out the GDB shipped with TouchGFX 4.25.00 has an issue where it can't set the breakpoint in VSCode when the software is running.
The only workaround is to set the breakpoints before launching the debug.
The issue is reported it https://github.com/microsoft/vscode-cpptools/issues/13191#issuecomment-2787932838
To fix the issue you can use the GDB shipped with the latest version of MYSYS2 https://packages.msys2.org/packages/mingw-w64-x86_64-gdb
You just run on the terminal pacman -S mingw-w64-x86_64-gdb
In the launch.json you set "miDebuggerPath": "C:/msys64/mingw64/bin/gdb.exe", (or the location where it has been installed) and in the task.json in "env": {"PATH": "C:/msys64/mingw64/bin;"}
2025-04-11 12:53 AM
Hello @nico23,
Thanks for your workaround, I will talk to the team about that.
You use VScode to debug on target ?
BR,
2025-04-11 12:59 AM
Hi Louis,
No, to debug the target I'm using CubeIDE.
I'm using VSCode to debug the Simlutor on my machine as using Visual Studio is not suitable for me