[prev] [index] [next]

GDB: The Gnu Debugger

gdb provides facilities to
  • control execution of program
    (step-by-step execution, breakpoints)
  • view intermediate state of program
    (values stored in program variables)
Plain gdb uses a command-line interface.

ddd provides a GUI wrapper around gdb.

For initial debugging, gdb is very useful.