Freescale Semiconductor Microcontrollers User Manual

Page 70

Advertising
background image

Debugger Components

General Debugger Components

70

Microcontrollers Debugger Manual

Keying In Commands

You can type Debugger commands after the in> terminal prompt in the Command Line
Component window.

Recalling a Line from the Command Line History

To recall a command in the DOS window use either the up or down arrow, or the F3
function key, to retype the previous command.

Scrolling the Command Component Window Content

Use the left and right arrow keys to move the cursor on the line, the HOME key to move
the cursor to the beginning of the line, or the END key to move the cursor to the end of the
line. To scroll a page, use the PgDn (scroll down a page) or PgUp keys (scroll up a page).

Clearing the Line or a Character of the Command Line

Selected text can be deleted by pressing the left arrow. To clear the current line, press the
ESC key.

Command Interpretation

The component executes the command entered and displays results or error messages, if
any. Ten previous commands can be recalled using the up arrow key to scroll up or the
down arrow key to scroll down. Commands are displayed in blue. Prompts and command
responses are displayed in black. Error messages are displayed in red.

When a command is executed and running from the Command Line component, the
component cannot be closed. In this case, if the Command Line component is closed with
the window close button (X) or with the Close entry of the system menu, the following
message is displayed:

Command Component is busy. Closing will be delayed

The Command Line component is closed as soon as command execution is complete. If
the

CLOSE

command is applied to this Command Line component (for example, from

another Command Line component), the component is closed as soon as command
execution is finished.

Variable Checking in the Command Line

When specifying a single name as an expression in the command line, this expression is
first checked as a local variable in the current procedure. If not found, it is checked as a
global variable in the current module. If not found, it is checked as a global variable in the
application. If not found, it is checked as a function in the current module. If not found, it
is checked as a function in the application, finally if not found an error is generated.

Advertising