Actions

EmSys

GDB - After Breakpoints

From EdWiki

Breakpoints ...

  • Once you’ve set a breakpoint, you can try using the run command again. This time, it should stop where you tell it to (unless a fatal error occurs before reaching that point).
  • You can proceed onto the next breakpoint by typing “continue” (Typing run again would restart the program from the beginning, which isn’t very useful.)
(gdb) continue
  • You can single-step (execute just the next line of code) by typing “step.” This gives you really fine-grained control over how the program proceeds.
(gdb) step