Source views

If your program was compiled with the appropriate debugging information, you have up to three choices for viewing it in the debugger.

View Purpose
Source (*SOURCE) To see the source code for your program.
If the program was compiled with a compile option for Source debug view, but the source file could not be located by the debugger, an empty editor with three options is displayed:
  • Select Edit Source Lookup Path to set up the IBM® i Source File or Remote Folder source containers for your debug session.
  • Select Change Text File to browse your local file system for the source file.
  • Select Show *LISTING or Show *STATEMENT to switch to *LISTING view or *STATEMENT view.
Note: The source view may be unavailable, depending on the compiler options that you used to create debug information.
Listing (*LISTING) To see a compiler-generated listing of your program.
Note:
  • The Listing view includes Copy files.
  • The Listing view may be unavailable, depending on the compiler options that you used to create debug information.
Statement (*STATEMENT) To see the statement number for each executable statement, as well as the name of the procedure to which the statement belongs.

Feedback