EmBitz

Full Version: Debugging "Next line"
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Sometimes there is a problem with the "Next Line" command at the end of loops. EmBitz does not stop the execution of the code. This usually happens with optimized code, but in the attached project the problem can be reproduced with "Debug" target.
This is not a problem with Eblink because I have the same problem with other gdb servers.
EmBitz version 2.41.
This is GDB related
(19-06-2022, 05:21 PM)embitz Wrote: [ -> ]This is GDB related

I think the gdb server just execute the commands sent from EmBitz. This happens to eblink and others. EmBitz simply continues to issue step commands, even when the end of the cycle has passed then whole think repeats.
Well, that's not the case. The abstraction level is different, GDB is doing this.

E.g. You can single step over lines from CLI with only GDB. An IDE debugger is only a sophisticated front-end for GDB.
I got it. Thanks for the explanation and patience.