The Watches view in the Debugger window enables you to specify variables and expressions
to watch continuously while debugging your program.
You switch the display of the Watches view by clicking in the toolbar of
the Debugger window.
A watch describes the content of a variable. Once a variable is assigned a watch, you can create a fixed watch from it. A fixed watch describes the object that is currently assigned to the variable.
The following table describes the icons used in the Watches view.
Icon | Description |
---|---|
![]() | Watch variable or expression |
![]() | Super variable |
![]() | Static variable |
Right-clicking the Watches root node displays a menu with the following items.
Menu Item |
Description |
---|---|
Add Watch | Displays a dialog box in which you can create a watch |
Delete All | Removes all watches from the Watches View |
Right-clicking a watch variable displays this menu.
Menu Item |
Description |
---|---|
Create Fixed Watch | Creates a watch that describes the object that is currently assigned to the variable |
Delete | Removes the watch |
Properties | Displays the properties of the watch variable. You can modify the value of the variable directly in the property sheet. |
See also | |
---|---|
Watching the Value of a Variable or Expression
Creating a Fixed Watch Modifying the Value of a Variable Deleting a Watch |