Watching Variables and Expressions

The Watches Pane in the Debugger window enables you to specify variables and expressions to watch continuously while debugging your program. 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. You can modify variables directly in the Watches pane.

Another way to view and modify variables is in the Variables Pane of the Debugger window. The Variables pane lists the variables that are local to the current thread and enables you to modify their values.

For step-by-step instructions, see:

Watching the Value of a Variable or Expression
Creating a Fixed Watch
Modifying a Variable from the Watches Pane
Deleting a Watch Variable or Expression
Viewing Variables in the Current Context

Legal Notices