Next | Prev | Up | Top | Contents | Index
Debugging Tool
IRIX provides dbx, a source level debugger that allows you to debug C, C++, Fortran 77, Pascal, and assembler code. You can execute a program under dbx control to
- examine source code
- examine and change data
- control program execution
- debug machine language code
- debug multiple processes.
You can also use dbx to examine a core file, if a program crash occurs, to determine the point at which the crash occurred.
To use dbx
- compile the source using an appropriate compiler driver option, usually -g. This produces an executable containing symbol table information that is used by dbx during program execution.
- execute the program under dbx control.
Next | Prev | Up | Top | Contents | Index