ContentsIndexPreviousNext

1.7.2 Handling Program Execution Problems

The runtime system contains a built-in debugger that allows you to view the source code while you are debugging. To prepare to use source debugging, you must compile with one of the compiler options that include the source code in the compiled object file, such as "-Ga".

For example:

ccbl  -Ga  -o  myprog  myprog.cbl

Where:

-Ga includes the source code in the compiled object file and enables other helpful debugging features (see section 2.1.9 Debugging Options for detailed information on those features).

-o allows you to specify the name of the output file for the object code

myprog is the user-specified name of the output file

myprog.cbl is the name of the file containing the COBOL source code

See paragraphs 2.1.9 and 2.1.10 in this book for complete listings of compiler options available for use with the debugger. See section 2.1 for syntax rules governing the specifying of compiler options on the command line.

More:

Using the debugger

Using file trace

Using Screen Trace

Working With Your Acucorp Technical Support Representative