Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Debugging "Next line"
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.

Attached Files
.zip (Size: 162.22 KB / Downloads: 78)
This is GDB related
(19-06-2022, 04: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.

Forum Jump:

Users browsing this thread: 1 Guest(s)