ndbg icon indicating copy to clipboard operation
ndbg copied to clipboard

A nicer C++ debugging experience for GDB

Summary

Nicer debugger is a GUI for GDB, with killer features such as:

  • Multiple process support
  • Emacs and Vim as the text editor
  • Passive process support (launch now, debug later)
  • Can still use GDB commands
  • Pretty Gtk user interface (no more ddd uglies!)

In a nutshell: ndbg --help

Run a program, without and with arguments: ndbg ndbg --args

Attach to a process: ndbg

Run an executable in an existing ndbg: ndbg_in_existing --> ndbg_in_existing --args

Attach to a process in an existing ndbg: ndbg_in_existing

Testing

Run all unit tests ndbg --test --> run unit tests

Run specific test matching /foo/: ndbg --test foo

Dependencies

  • gdb 7.0 or greater
  • Python2.6
  • pygtk
  • python-vte
  • python-dbus

One of:

  • python-gtksourceview2
  • emacs23+
  • gvim7.2 with +clientserver