I'm using VSCode with the Pico SDK and Pico debug probed on a C/C++ project (Windows 11). Everything works fine with the exception that when I launch the debugger after a new compile, it doesn't stop at main() and immediately begins execution. I can start and stop execution, but breakpoints don't work. Sometimes I can fix it by deleting the build folder, clean CMake, recompile, then launch the debugger, but that only works about 20% of the time. I've noticed that in the terminal window that when the debugger does properly launch and stops at main(), the 'erase chunk . . . " process occurs, but when it fails to properly launch, it skips that part.
Statistics: Posted by philmat — Fri Sep 26, 2025 3:34 pm — Replies 0 — Views 35