IBM AS/400 Frozen Dessert Maker User Manual


 
The ILE Source Debugger
STEP Allows you to run one or more statements of the procedure being
debugged.
| TBREAK Permits you to enter either an unconditional or conditional breakpoint in
| the current thread at a position in the program being tested.
| THREAD Allows you to display the Work with Debugged Threads display or
| change the current thread.
WATCH Allows you to request a breakpoint when the contents of a specified
storage location is changed from its current value.
FIND Searches forwards or backwards in the module currently displayed for a
specified line number or string or text.
UP Moves the displayed window of source towards the beginning of the
view by the amount entered.
DOWN Moves the displayed window of source towards the end of the view by
the amount entered.
LEFT Moves the displayed window of source to the left by the number of
columns entered.
RIGHT Moves the displayed window of source to the right by the number of
columns entered.
TOP Positions the view to show the first line.
BOTTOM Positions the view to show the last line.
NEXT Positions the view to the next breakpoint in the source currently dis-
played.
PREVIOUS
Positions the view to the previous breakpoint in the source currently dis-
played.
HELP Shows the online help information for the available source debugger
commands.
The online help for the ILE source debugger describes the debug commands,
explains their allowed abbreviations, and provides syntax diagrams for each
command. It also provides examples in each of the ILE languages of displaying and
changing variables using the source debugger.
Follow these steps to access the online help information for ILE RPG:
1. Enter STRDBG library-name/program-name where
program-name
is any ILE
program with debug data in library
library-name
.
2. Enter DSPMODSRC to show the source view if this screen does not appear fol-
lowing step 1.
3. Enter PF1 (Help)
4. Put your cursor on EVAL and press enter to bring up the EVAL command help.
5. Put your cursor on Expressions and press enter to bring up help for
expressions.
6. Put your cursor on RPG language and press enter to bring up RPG language
examples.
Chapter 11. Debugging Programs 165