GDB in TouchGFX has a bug in VSCode and won't set breakpoints
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;"}
