Command | Menu Option | Description |
---|---|---|
! | File/Shell | Invokes the operating system's command processor, allowing you to enter commands. |
!! | Returns the process ID (PID) for the current runtime execution. | |
<script-file | File/Run Script | Runs a script file. Causes all input (debugger and program) to be read from the script. Control returns to the keyboard when the script is finished. |
> | File/Stop Recorder | Ends your recording. If you do not end your recording, the script is saved and closed when the debugger closes. |
>script-file | File/Record Script | Turns on a recorder that saves all of your keyboard input and menu selections to a file of your choice. |
A variable | Data/Accept | Lets you modify the contents of a variable. |
B | View/Breakpoints
Breakpoints/View |
Displays a dialog box with all existing breakpoints. You can add/modify breakpoints from this dialog box. |
B address,
[skip #] |
Breakpoints/Set | Sets a breakpoint with a skip count. The breakpoint will not be activated until it has been hit skip# times. |
B address,
[skip #], [WHEN cond] |
Breakpoints/Set | Sets a breakpoint with a skip count and/or condition. The breakpoint will not be activated unless cond is true # times. |
C address | Breakpoints/Clear | Removes a breakpoint. You can enter either the breakpoint's paragraph name or hexadecimal address. |
CA | Breakpoints/Clear All | Removes all breakpoints. |
CM number | Data/Monitor/Clear | Clears variable monitor number. |
CMA | Data/Monitor/Clear All | Clears all variable monitors. |
CWA | Clears all variable watches. | |
D variable [, X] |
Data/Display | Shows the contents of a variable. The value is shown in the debugger command window. If X is appended to the display command,
the variable is displayed in hexadecimal.
If the variable is specified by its absolute address from a program listing, it must be preceded by . (a period) |
D variable(x:y) | Display a reference modified variable. The command d my-var(2:5), for example, displays five characters, starting with the second character of the variable string. | |
E | File/Exit Debugger | Turns off the debugger while continuing the execution of your program. |
G | Run/Continue | Resumes execution of your program from its current location. |
G address | Sets a temporary breakpoint at address, and continues execution. | |
GE | Run/Go until Program Exits | Runs your program until the current program exits to its calling program. |
GP | Run/Go until Paragraph Returns | Runs your program until the current paragraph returns to the point from which it was performed. |
H | Displays the online help files. | |
L | Displays the name of source paragraph or section which is being executed. | |
M | View/Monitors
Data/Monitor/List |
Shows all monitored variables and their values. This also displays a sequence number for each monitor, which is used to clear the monitor. |
M variable | Data/Monitor/Set | Causes the program to stop whenever the named variable changes its value. The variable is shown in the Watch Window. |
P [#] | Step Over | Steps over the next statement. With a count, the program will step count times. Use this command if you want to step through a program following only the original thread. |
Q! | File/Quit | Halts your application and exits the debugger. |
R script | Run a debugging script. The debugger reads commands from a script (but user-input is gathered normally). | |
RA [#] | Run/Run all Threads | Toggles or sets the Run All Threads setting.
If # is 0, only the current thread will run. If # is non-0, all threads will run. |
S [#] | Step Into | Executes one statement of your program and then returns control to the debugger. You may follow the command with the number of steps to take. This command will follow a new thread if one is created. If you want to follow the original thread, use the step over command (P) described above. |
SA | Run/Auto Step | Causes your program to execute step commands repeatedly until it reaches the end of the program., or until you stop auto-step by pressing the spacebar while the debugger is active. Like the step into command (S), this follows a new thread if one is created. |
ST [#] | Run/Thread | Switches to the thread identified by the given number (or the next thread, if no number is given). The Run menu displays the number assigned to each threads. |
T flush | Causes the error file to be flushed to disk after each write, if you are writing to an error file. | |
TF [#] | File/Trace Files | Turns on file tracing. The # indicates the level of tracing, from 1 to 9, where 1 is the lowest and 9 is the highest. |
TP | File/Trace Paragraphs | Toggles paragraph tracing, which is a listing of all paragraphs and sections entered at runtime. |
U | View/Memory Usage | Displays the amount of dynamically allocated memory currently used by the runtime system. |
V | View/Screen | Displays your application's current screen. Press any key or click the left mouse button to return to the debugger. |
WA | Data/Monitor/Set | Places a variable in the Watch Window. The difference between a watched variable and a monitored variable is that watched variables do not cause program execution to halt when they change. |
WS number | Source/Window Size | Specifies the number of lines to show in the command window. |
WW number | Source/Watch Size | Specifies the number of lines to display in the Watch Window. The number cannot exceed the number of watched/monitored items. |
F8 | Recalls the last command entered for editing. | |
Ctrl + N | Shows the next line in the Watch Window. | |
Ctrl + P | Shows the previous line in the Watch Window. |