Home arrow Journal arrow Debug C and C++ apps with gdb GUI tool
Debug C and C++ apps with gdb GUI tool PDF
Wednesday, 01 June 2011
The tool that uses gdb and a GUI is called ddd.

  cd /usr/ports/devel/ddd
  make install clean
  rehash
  ddd

GUI interface uses Open Motif and is kind of obsolete but the tool is very usefull. It works on KDE and Gnome too, you don't have to use Open Motif Window Manager.

To debug C and C++ apps don't forget to compile them with debug info (-g):

  g++ -g filename.cc

Last Updated ( Wednesday, 01 June 2011 )
 
< Prev   Next >

Other BSD Systems

OpenBSD

Misc

Solaris

Polls

Best BSD firewall?