Expression command file, Data menu – Freescale Semiconductor Microcontrollers User Manual

Page 81

Advertising
background image

Debugger Components

General Debugger Components

81

Microcontrollers Debugger Manual

Example:

With two variables variable_1, variable_2;

expression entered: (variable_1<<variable_2)+ 0xFF) <= 0x1000 results in a boolean
type.

expression entered: (variable_1>>~variable_2)* 0x1000 results in an integer type.

NOTE

It is not possible to drag an expression defined with the Expression Editor. The
forbidden cursor is displayed.

Expression Command file

The Expression Command file is automatically generated when a new application is
loaded or exiting from the Debugger. User defined expressions are stored in this command
file. The name of the expression command file is the name of the application with a .xpr
extension (.XPR file). When loading a new user application, the debugger executes the
matching expression command file to load the user defined expression into the data
component.

Example: When loading fibo.abs, the debugger executes Fibo.xpr

Data Menu

Figure 3.20

shows the Data component menu, the Zoom submenu is shown in

Figure 3.29

,

the Scope submenu is shown in

Figure 3.21

, the Format submenu in

Figure 3.22

, the Mode

submenu in

Figure 3.24

, the Options submenu in

Figure 3.26

and the Zoom and Sort

submenus in

Figure 3.29

.

Table 3.8

describes the Data Menu entries.

Figure 3.20 Data Menu

Advertising