Debugger Components
General Debugger Components
79
Microcontrollers Debugger Manual
Data Component
The Data window shown in Figure 3.18 contains the names, values and types of global or
local variables.
Figure 3.18 Data Window
The Data window shows all variables present in the current source module or procedure.
Changed values are in red.
The Component Windows Object Info Bar contains the address and size of the selected
variable. It also contains the module name or procedure name where the displayed
variables are defined, the display mode (automatic, locked, etc.), the display format
(symbolic, hex, bin, etc.), and current scope (global, local or user variables).
Various display formats, such as symbolic representation (depending on variable types),
and hexadecimal, octal, binary, signed and unsigned formats may be selected.
Structures can be expanded to display their member fields and pointers can be traversed to
display data they are pointing to.
Watchpoints can be set in this component. Refer to Control Points chapter.
Data Operations
• Double-click a variable line to edit the value.
• Click the folded/unfolded icons to unfold/fold the structured variable.
• Double-click a blank line: Opens the Expression editor to insert an expression in the
Data Component window.
• Select a variable in the Data component, and left mouse button + R key to set a Read
watchpoint on the selected variable. A green vertical bar is displayed on the left side
of the variables on which a read watchpoint has been defined. If a read access on the
variable is detected during execution, the program is halted and the current program
state is displayed in all window components.