ILE COBOL Programmer's Guide


Setting Debug Options

After you start a debug session, you can set or change the following debug options using the SET debug command on the debug command line:

Changing the debug options using the SET debug command affects the value for the corresponding parameter, if any, specified on the STRDBG command. You can also use the Change Debug (CHGDBG) command to set debug options. However, the OPMSRC option cannot be changed by the CHGDBG command. OPMSRC can only be changed by the SET debug command.

Suppose you are in a debug session working with an ILE program, and you decide you should also debug an OPM program that has debug data available. To enable the ILE source debugger to accept OPM programs, follow these steps:

  1. After entering STRDBG, if the current display is not the Display Module Source display, type:
    DSPMODSRC
    
  2. Type:
    SET
    

    The Set Debug Options display appears.

  3. On this display, type Y (Yes) in the OPM source debug support field, and press the Enter key to return to the Display Module Source display.

You can now add the OPM program, either by using the Work with Module display, or by processing a call statement for that program.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]