[prev] 33 [next]

Debuggers

A debugger gives control of program execution:
  • normal execution   (run, cont)
  • stop at a certain point   (break)
  • one statement at a time   (step, next)
  • examine program state   (print)
gdb command is a command-line-based debugger for C, C++ ...

There are GUI front-ends available (e.g. xxgdb, ddd, ...).

  • provide facilities such as graphical display of data structures