Procedure component, Procedure operations, Procedure menu – Freescale Semiconductor Microcontrollers User Manual

Page 104

Advertising
background image

Debugger Components

General Debugger Components

104

Microcontrollers Debugger Manual

Procedure Component

The Procedure window shown in

Figure 3.46

displays the list of procedure or function

calls that have been made up to the moment the program was halted. This list is known as
the procedure chain or the call chain.

Figure 3.46 Procedure Window

In the Procedure Component window, entries in the call chain are displayed in reverse
order from the last call (most recent on top) to the first call (initial on bottom). Types of
procedure parameters are also displayed.

The Object Info bar of the component window contains the source module and address of
the selected procedure.

Procedure Operations

Double-clicking on a procedure name forces all open windows to display information
about that procedure. The Source Component window shows the procedure's source. The
local Data Component window displays the local variables and parameters of the selected
procedure. The current assembly statement inside this procedure is highlighted in the
Assembly component.

NOTE

When a procedure of a level greater than 0 (the top most) is double clicked in
the Procedure Component, the statement corresponding to the call of the lower
procedure is selected in the Source Window and Assembly Window.

Procedure Menu

Figure 3.47

shows the Procedure menu and its entries are described in

Table 3.25

.

Figure 3.47 Procedure Menu

Advertising