Watches View

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 Watches icon 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.

Watch Icons

The following table describes the icons used in the Watches view.

Icon Description
Watch variable iconWatch variable or expression
Super variable icon groupSuper variable
Static variable iconStatic variable

Contextual Menus

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

Legal Notices