Many debug commands are available for use with the ILE source debugger. The debug commands and their parameters are entered on the debug command line displayed on the bottom of the Display Module Source and Evaluate Expression displays. These commands can be entered in upper case, lower case, or mixed case.
Table 10-1 summarizes these debug commands. The online help for
the ILE source debugger describes the debug commands and explains their
allowed abbreviations.
Table 10-1. ILE source debugger commands
Debug Command | Description |
---|---|
ATTR | Permits you to display the attributes of a variable. The attributes are the size and type of the variable as recorded in the debug symbol table. |
BREAK | Permits you to enter either an unconditional or conditional breakpoint at a position in the program being tested. Use BREAK position WHEN expression to enter a conditional breakpoint. |
SBREAK | Permits you to enter a service entry point at a position in the program being tested. A service entry point is a type of breakpoint established in a program to facilitate the system debugger in gaining control of a spawned job. The breakpoint is only signaled when the job within which the service entry point was hit is not currently under debug. |
CLEAR | Permits you to remove conditional and unconditional breakpoints. |
DISPLAY | Allows you to display the names and definitions assigned by using the EQUATE command. It also allows you to display a different source module than the one currently shown on the Display Module Source display. The module object must exist in the current program object. |
EQUATE | Allows you to assign an expression, variable, or debug command to a name for shorthand use. |
EVAL | Allows you to display or change the value of a variable or to display the value of expressions. |
QUAL | Allows you to define the scope of variables that appear in subsequent EVAL commands. |
STEP | Allows you to run one or more statements of the program being debugged. |
FIND | Searches 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 characters entered. |
RIGHT | Moves the displayed window of source to the right the number of characters 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 displayed. |
PREVIOUS | Positions the view to the previous breakpoint in the source currently displayed. |
HELP | Shows the online help information for the available source debugger commands. |
SET | Specifies if case sensitive or case insensitive searching is performed for all subsequent FIND requests in the current debug session. It also allows you to change the update production files value. |
WATCH | Displays a list of the currently active watch conditions. |
(C) Copyright IBM Corporation 1992, 2005. All Rights Reserved.