The Command window issues debugger commands.
It is one of the four primary windows. The other primary windows are Status,
Source, and Log. In Command Window the Command window is identified by the Cdebug:
prompt on the bottom line. Normally the Command window is displayed as shown,
without a border and on the bottom line of the display. Like all the primary
windows, the Command window is always open, even when it is obscured by an
overlying window. Therefore, for purposes of the window
command, it is a class 1 window. See window.
Issuing commands The Command window
has two fields: a protected field that is used to display the Cdebug: prompt and a nonprotected command entry field. Debugger
commands are typed into the command entry field, which starts immediately
to the right of the Cdebug: prompt. You issue the
command when you press the ENTER key. If a command is too long for the window,
you can type it into the Log window by using a backslash for continuation.
Recalling commands As you issue
commands, they are maintained by the debugger in a circular list. However,
issuing the same command more than one time in succession results in only
one copy of the command being maintained in the list. You can cycle through
the list by using the window scroll < > up
(PF19) and window scroll < > down
(PF20)
commands. You can recall previously issued commands by pressing the ENTER
key. You can change recalled commands by typing over them before they are
issued.
The previously issued commands are accessed in the order
they were issued; as the list fills up, the oldest commands are deleted. You
can use the window clear
command to clear this
list. The number of commands maintained in the circular list depends on the
amount of memory that is allocated for the Command window. (The amount of
memory that is allocated for window buffers cannot be changed during a session.)
Each command requires one byte of storage for each character in the command
plus three bytes for overhead information. You can specify the amount of memory
that is used for this list with the window memory
command.