Setting Debug Options

After you start a debug session, you can set or change the following debug options:

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 can not be changed by the CHGDBG command. OPMSRC can only be changed by the debug SET 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 to accept OPM programs, follow these steps:

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

    The Display Module Source display appears.

  2. Type
    SET
  3. The Set Debug Options display appears. On this display type Y (Yes) for the OPM source debug support field, and press Enter 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 to that program.



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