Information, Technology & Consulting

Debuggers on Research Computing's Linux systems


In general, you should use either the debugger that is supplied with each type of compiler or a general purpose debugger like TotalView. The table below provides the compilers and their associated debuggers for the compilers installed on Research Computing Linux computers.

Notes on Debuggers

  • All of the compilers can be used in three different modes: To interactively run and debug a program, to debug a core file that was created by a program, or to connect to a running process. The documentation for each debugger provides information about how to run them.
  • gdb is the debugger used for code compiled with the GNU compilers gcc and g++. It can be run from the command line, from emacs, or xemacs, from ddd or from eclipse.
  • pgdb is the debugger for the Portland Group compilers. If you are running X windows, pgdb has a graphical user interface; otherwise, it has a command-based interface.
  • idb is the debugger for the intel compilers. It can be configured to run using the gdb or dbx commands. It can be run with a command-based interface, from emacs, xemacs, or ddd.
  • jdb is the command line debugger for java.
  • TotalView is a powerful GUI-based debugger that works with several compilers, including GNU, Portland Group and Intel compilers. It can debug MPI, openMP, and other threaded C/C++ or Fortran programs.

For additional information see:

Research Computing
Research Computing Consulting
Last updated: 
Tuesday, January 2, 2018

If you have questions or need further information, contact your department's IT support office, or contact the IT Service Desk via email at [email protected], via phone at 603-646-2999 or walk in to see them in Baker/Berry 178J.

Information, Technology & Consulting