COBOL Manual for TNS and TNS/R Programs

Debugging Tools
HP COBOL Manual for TNS and TNS/R Programs522555-006
15-4
Run-Time Debuggers
Run-Time Debuggers
The HP run-time debuggers are:
Except for Debug, the HP run-time debuggers are interactive, and symbolic. If you
compile your program with the SYMBOLS directive (described in SYMBOLS and
NOSYMBOLS), the symbolic debuggers allow you to debug the program using the
names you assigned to the procedures and data items of the source program, rather
than the addresses that the compiler and the Binder or linker ultimately assigned to
them. If you do not compile your program with the SYMBOLS directive, you can use
only the low-level commands of a symbolic debugger.
Any mechanism that calls the debugging facility calls the selected run-time debugger.
Examples of such mechanisms are:
The RUND command
An explicit call to the Debug debugger by the process
A command interpreter DEBUG command
Topics:
Visual Inspect
Inspect
Debug
Debugger Selection
Visual Inspect
The most powerful of the HP debuggers
For PIC and non-PIC programs
Symbolic
Interactive
PC-based
For more information, see:
Debugging
Visual Inspect’s online help
Debugger For PIC For Non-PIC
Visual Inspect * Yes Yes
Inspect No Yes
Debug No Yes
* PC-based
Note. When you have debugged the program, recompile it without the SYMBOLS directive to
decrease the size of the object file and decrease program compilation time.