User manual

Basic debugging features UM0036
192/385 Doc ID 7705 Rev 11
Modifying values
Variable values can be modified directly in the Watch window. Double-click in the right-hand
(Value) column to open the value for keyboard entry. The new value can be entered in
Decimal or Hexadecimal.
Note: Modifying values is only possible in the case of simple numerical values. Hence it is
necessary to expand any expandable variable (described above) to the ultimate level where
each element is represented by a simple numerical value, before modifying this value.
Watch contextual menu
Figure 138. Watch contextual menu
Right-click within the Watch window to open the Watch contextual menu providing the
following options (plus standard docking options):
Refresh all: Refreshes all displayed variables.
Display Item: Sets the display format for the selected item to Standard, Hexadecimal,
Decimal, Unsigned, or Binary.
Display All: Sets the display format for all variables to Standard, Hexadecimal,
Decimal, Unsigned, or Binary.
Remove Item: Removes the selected (highlighted) variable.
Remove all: Removes all displayed variables.
View: You can choose to show or hide the Type and Address columns in the Watch
window by checking or unchecking (respectively) these two options.
A QuickWatch window is also available via the Editor's contextual menu. This provides rapid
contextual access to the most commonly used Watch functions. Values are easily
transferred from QuickWatch window to the Watch window as described above.
5.13 Core registers window
To open the Core Registers window, either click on the Core Registers window icon in
the View toolbar or from the main menu select View>Core Register.
The Core Registers window shows the contents of all registers used by the application,
with the values they contain at the current program counter (PC) location. The register
window is paged to show the different registers, accessible via the view tabs at the bottom of
the window. These provide details of content for the Concurrent Interrupts (IT) and Nested