Watch pane

Use this pane to monitor variables in a debugging session. There are four tabs so that you can monitor four different groups of variables, or expressions. You can add a variable, or expression, in any of the following ways:

image\000006B3_shg.gif

image\hand.gif Move the mouse pointer across the picture and click where you want to see a description.

Whenever execution stops, you can inspect the values of these variables. You can choose whether the values are updated automatically (Automatic Update) when they change, or you can select the Update now option from the Pane menu to update the values when execution stops.

image\lamp.gifYou can view memory at the address of a selected variable, or at the address indicated by its value. This option is available on a context menu.

Click image\winmenu.gif to display the pane control menu.

Click image\panemenu.gif to display a menu of options for the Watch pane.

Changing values

You can edit a name, or a value in-place:

1. Double-click on the name or value.

2. Overtype it with the new value.

3. Press the Enter key.

image\lamp.gifValues in dark blue changed at the last update of the pane. Values in light blue changed at the previous update.

There are three context menus associated with the Watch window.

Right-click on a value

Click the following links to see pop-up descriptions of the options:

Update

Format…

Set to 0

Increment

Decrement

Set from Favorites…

List of previously watched variables

Right-click on a name

Click the following links to see pop-up descriptions of the options:

Update

Format…

Break at

Break If…

Add from Favorites…

View Memory at Value

View Memory at Address

Properties…

Right-click in white space

Click the following links to see pop-up descriptions of the options:

Update All

Add from Favorites…