ILE C/C++ Programmer's Guide

Displaying a Different View Of a Module

Several different views of a module are available depending on the values you specify when you create the module. They are:

Example:

This example shows you how to change the view of the module shown on the Display Module Source display.

  1. To change the view of the module on the Display Module Source display type DSPMODSRC, and press Enter. The Display Module Source display is shown.
  2. Press F15 (Select view). The Select View window is as shown:
    +--------------------------------------------------------------------------------+
    |                              Display Module Source                             |
    | .............................................................................. |
    | :                                Select View                                 : |
    | :                                                                            : |
    | :  Current View . . . :   ILE C root source view                         :     |
    | :                                                                            : |
    | :  Type option, press Enter.                                                 : |
    | :    1=Select                                                                : |
    | :                                                                            : |
    | :  Opt     View                                                              : |
    | :  _        ILE C root source view                                       :     |
    | :  1        ILE C include view                                           :     |
    | :                                                                            : |
    | :                                                                    Bottom  : |
    | :  F12=Cancel                                                                : |
    | :                                                                            : |
    | :............................................................................: |
    |                                                                                |
    |                                                                                |
    |                                                                        More... |
    | Debug . . .  ___________________________________________________________       |
    | ________________________________________________________________________       |
    | F3=End program   F6=Add/Clear breakpoint   F10=Step   F11=Display variable     |
    | F12=Resume       F17=Watch variable   F18=Work with watch  F24=More keys       |
    +--------------------------------------------------------------------------------+

    The current view is listed at the top of the window, and the other views that are available are shown below. Each module in a program can have a different set of views available, depending on the debug options used to create it.

  3. Enter 1 next to the ILE C Include view. The Display Module Source display appears showing the module with an include source view. The source of the include view will be shown at a statement position that is equivalent to the statement position in the current view.


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