Sproc – Freescale Semiconductor Microcontrollers User Manual

Page 823

Advertising
background image

Debugger Engine Commands

Debugger Commands

823

Microcontrollers Debugger Manual

Components

Assembler, Memory and Source component.

Example:

in>Assembly < SPC 0x8000

The Assembly component window is scrolled to the address 0x8000 and the
associated instruction is highlighted.

SPROC

In the Data component, the SPROC command shows local variables of the
corresponding procedure stack level.

In the Source component, the SPROC command loads the corresponding module’s
source text, scrolls to the corresponding procedure and highlights the statement of this
procedure that is in the procedure chain.

level = 0 is the current procedure level. level = 1 is the caller stack level and so on.

NOTE

This command is relevant when “C-source” debugging.

NOTE

When a procedure of a level greater than 0 is given as parameter to the SPROC
command, the statement corresponding to the call of the lower procedure is
selected.

Usage

SPROC

level

Components

Data and Source components.

Example:

in>Source < SPROC 1

This command displays the source code associated with the caller function in the
Source component window.

Advertising