© 2008 by the Rector and Visitors of the University of Virginia.

The information contained on the University of Virginia’s Department of Information Technology and Communication (ITC) website is provided as a public service with the understanding that ITC makes no representations or warranties, either expressed or implied, concerning the accuracy, completeness, reliability or suitability of the information, including warrantees of title, non-infringement of copyright or patent rights of others. These pages are expected to represent the University of Virginia community and the State of Virginia in a professional manner in accordance with the University of Virginia’s Computing Policies.

ITCWeb: Program Debugging Program Debugging

The "dbx" debugger on the RS/6000's can be used on any program that will compile. To prepare the executable to be read by dbx, compile with the -g option:

Fortran:    xlf -g prog.f
 
C:          xlc -g prog.c
   

There are several sources of information on line that describe the debugger.

Unix document U-029, "The dbx Debugger on the RS/6000"

Type "man dbx" to bring up the Unix manual information .

Additional dbx tutorial links:

A dbx Tutorial (University of Maryland).

DBX Tutorial (University of Windsor).