Inspectoroutput – Freescale Semiconductor Microcontrollers User Manual

Page 793

Advertising
background image

Debugger Engine Commands

Debugger Commands

793

Microcontrollers Debugger Manual

Usage

IF condition

Where condition is same as defined in “C” language.

Components

Debugger engine.

Example:

DEFINE jump = 0

...

DEFINE jump = jump + 1

...

IF jump == 10

T

DEFINE jump = 0

ELSEIF jump == 100

DEFINE jump = 1

ELSE

DEFINE jump = 2

ENDIF

The jump = = 10 condition is evaluated and depending on the test result, the T
Trace instruction is executed, or the ELSEIF jump = = 100 test is evaluated.

INSPECTOROUTPUT

The Inspector dumps the content of the specified item and all computed subitems to the
command window. Uncomputed subitems are not printed. To compute all information, the
ATTRIBUTES EXPAND command is used.

Usage

INSPECTOROUTPUT [name {subname}]

The name specifies any of the root items. The subname specifies a recursive path
to subitems.

If a name contains a space, it must be surrounded by double quotes (").

Advertising