ContentsIndexPreviousNext

3.1.3 Debugger Commands

Debugger commands are displayed in a menu bar with pull-down submenus, and on the debugger's toolbar. Commands can be selected either from the menus or from the keyboard. A menu item that is followed by three dots (such as Accept...) requires a value. You will be prompted for the value unless you highlight it within the source code before you choose the option. Some, but not all, commands may be selected from the toolbar. You can determine toolbar functions by placing the mouse over a button and holding it there for a brief period.

gt100008.gif

The Debugger Menu Bar and Toolbar (Windows).

If you do not have a mouse, use the F10 to access the debugger menu bar. Then use the arrow keys to move within the menu system. Press <return> or <spacebar> to make your selection. Typing the key letter is another way to make a selection, if key letters are available on your system. From the menu bar, press F10 to toggle back to the debugger command line.

On systems such as Windows that include a System Menu in the Debugger window, you can activate the System Menu by pressing the function key F9. F9 will also activate the System Menu of any window displayed over the Debugger window.

The debugger displays the first ten characters of the name of the current program, followed by the current address (in hexadecimal). This name is derived from the PROGRAM-ID in the Identification Division of the source code.

The commands described on the following pages may be used in all debugging modes, unless marked with one or two asterisks.

Keep in mind that you must compile with "-Gd" or "-Zs" in order to reference variables by name. If the program was not compiled with one of these options, refer to each variable by its absolute address as shown in a program listing.

The tables below list all debugger commands available through the keyboard, with their menu equivalents given in parentheses. The same listing is accessible through the H (Help) debugger command.

More:

Source-level commands

Other commands

Multithreading Issues

Getting help

The File Menu

The View Menu

The Run Menu

The Source Menu

The Data Menu

The Breakpoints Menu

The Selection Menu

The Help Menu

The Toolbar