next up previous contents
Next: Starting execution Up: Debugging tools Previous: Debugging tools   Contents

Using debugger to debug C programs

The IRIX system provides a source level debugger called dbx. It can be invoked from the command line as dbx exec_program The 'exec_program' is the name of the executable program to be debugged. This program must have been compiled by the '-g' option when compiling the C source code.

After we run dbx we get a prompt > on which we issue the various commands to monitor the execution of the program.



Sushil Prasad 2004-09-16