Fprintf, Frames – Freescale Semiconductor Microcontrollers User Manual

Page 788

Advertising
background image

Debugger Engine Commands

Debugger Commands

788

Microcontrollers Debugger Manual

FPRINTF

FPRINTF is the standard ANSI C command: Writes formatted output string to a file.

Usage

FPRINTF (<filename>, <&format>, <expression>,

<expression>, ...)

Components

Debugger engine.

Example:

fprintf (test.txt,"%s %2d","The value of the counter

is:",counter)

The content of the file test.txt is: The value of the counter is: 25

FRAMES

In the SoftTrace component, the FRAMES command sets the maximum number of
frame records.

Usage

FRAMES number

Where number is a decimal number, which is the maximum number of recorded
frames. This number must not exceed 1000000.

Components

SoftTrace component.

Example:

FRAMES 10000

Advertising