|Non-Confidential||PDF version||ARM 100968_1101_00_en|
|Home > Using Model Debugger > Debug views for registers and memory > Variables view|
This section describes the Variables debug view.
Variables are displayed in these windows:
This window shows all local variables and parameters that are valid for the current PC value, with their type and value.
A blue letter L before the variable name indicates a local variable.
A green letter P indicates a parameter.
This window shows the global variables with their types and values. A green letter G marks them.
Complex values such as structs and arrays or pointers can be expanded by clicking the small cross before the variable name.
For applications that have more than one compilation unit, the units are only loaded when the PC reaches the respective context.
The loading of these compilation units can be triggered manually by selecting Load Debug Info for Module from the Debug menu. Right-click on one of the variables windows and select Load Debug Info for Module.
The displayed dialog box lists the compilation units that can be loaded.
To display the context menu, right click one of the items in the Global or Local Variable view. The menu has these options:
Copy the contents of the selected variable.
Add the selected variable to the Watch view.
Insert a breakpoint on the selected variable.
Enable the breakpoint at the selected variable.
If a breakpoint is present on the selected variable, selecting this option displays the Breakpoint properties dialog box.
Edit the contents of the selected variable.
Select a memory space and update the Memory view. You can display the memory contents at the address of the value of the variable.
Display the current value and the previous value for the selected variable.
Select the variables in the variable view.
Load debug information for the module that contains the selected variable.