The Watch window allows to evaluate symbols, registers, and
expressions. The window displays the item name, value, and type.
Open this window through the toolbar button
or using the menu View – Watch Windows.
Where
search box
Allows finding expressions within the current name list. The
search string can consist of alphanumeric characters and mask
characters as described in the appendix F. Regular Search Expressions.
- identifies items of a complex type, such
as structures or arrays.
- identifies items of a simple type, such as
integers or characters.
Value
Shows the memory address or the evaluated value of an
expression. This field can contain explanatory text.
Expressions of the type unsigned char show the value and
the corresponding character. A single-quote (‘)
indicates that the value was restored from a previous debugging
session.
Values are updated:
Whenever program execution stops.
During program execution when View - Periodic Window
Update is enabled.
Click on the value-field and start editing. Not all expressions
accept changes.
The context menu allows:
Removing an expression.
Changing the value representation.
Setting breakpoints.
Adding expressions to other windows.
Showing or hiding the toolbar that contains the search
box.
Note
You must not use pre or post increment/decrement or assignment
operators in the Watch window expression (for example val1--) as this will result in updates
to the value being displayed.
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers of your data.