ILE C/C++ Programmer's Guide

Displaying Other Modules in Your Program

You may want to set some debug options in other modules of your program. You can do this by changing the module that is shown on the Display Module Source display to specify the preferred module.

You can change the module that is shown on the Display Module Source display by using:

If you use the Display Module debug command with an ILE program object, the entry module with a root source, COPY, or listing view is shown (if it exists). Otherwise the first module object bound to the program object with debug data is shown. If you use this option with an OPM program object, then the source or listing view is shown (if available).

Example: Changing the Module Displayed in a Session

This example shows you how to change from the module shown on the Display Module Source display to another module in the same program using Display Module debug command.

  1. While in a debug session, enter DSPMODSRC. The Display Module Source display is shown.
  2. On the debug command line, enter: display module T1520IC2

    The module T1520IC2 is displayed.


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