I'm developing a program for the raspberry pi pico in C++, I'm using Visual Studio Code for my IDE and GCC to compile the source code.
Normally when using breakpoints, execution stops at source code and I can debug as usual. But sometimes when running the program, breakpoints stop the execution in assembly code. This happens randomly without changing any settings or properties and randomly changes back as well.
Sorry if I haven't explained this very well but I couldn't find the issue posted anywhere else.
Just ask if you need any more information, any help is appreciated, thanks.