View the program source

You can view the source of a program object using the Display Module Source display.

The Display Module Source display shows the source of a program object one module object at a time. A module object's source can be shown if the module object was compiled using one of the following debug view options:

There are two methods to change what is shown on the Display Module Source display:

When you change a view, the ILE source debugger maps to equivalent positions in the view you are changing to. When you change the module, the executable statement on the displayed view is stored in memory and is viewed when the module is displayed again. Line numbers that have breakpoints set are highlighted. When a breakpoint, step, or message causes the program to stop and the display to be shown, the source line where the event occurred is highlighted.