Record, Repeat – Freescale Semiconductor Microcontrollers User Manual

Page 813

Advertising
background image

Debugger Engine Commands

Debugger Commands

813

Microcontrollers Debugger Manual

RECORD

In the SoftTrace component, the RECORD command switches frame recording on / off
while the target is running.

Usage

RECORD on|off

Components

SoftTrace component.

Example:

in>RECORD on

REPEAT

The REPEAT command allows you to execute a sequence of commands until a specified
condition is true. The REPEAT command may be nested.

Press the Esc key to stop this command.

Usage

REPEAT

Components

Debugger engine.

Example:

DEFINE var = 0

...

REPEAT

DEFINE var = var + 1

...

UNTIL var == 2

The REPEAT-UNTIL loop is identical to the ANSI C loop. The operation
DEFINE var = var + 1 is done twice, then var = = 2 and the loop ends.

Advertising