You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm unable to debug for some regions of my code for some reason. The breakpoints completely get ignored and for earlier breakpoints that work, it is also unable to step into functions where my broken breakpoints reside. The code executes fine but debugging is broken for some reason.
The text was updated successfully, but these errors were encountered:
This is probably because of the compiler optimizations. In the makefile CCFLAGS includes -Ofast, you can change this is -Og for a better debugging experience. You will need to delete all the obj files each time you make changes like this to the makefile.
I can understand why this isn't a priority to simplify and I'm not sure what VSCode provides, but it would be nice if this were part of a separate config of some kind so it's easier to toggle between debug and optimized compilation.
I'm unable to debug for some regions of my code for some reason. The breakpoints completely get ignored and for earlier breakpoints that work, it is also unable to step into functions where my broken breakpoints reside. The code executes fine but debugging is broken for some reason.
The text was updated successfully, but these errors were encountered: