Watch Window

Use the Watch window to monitor variable values while stepping through scripts.

The Watch window is accessible only in debugging mode. And, by default, the Watch window is not displayed. Use the Debug > Windows menu to show/hide the Watch window.

Variable names can be typed in the first column or can be dragged and placed there from the Editor. Alternatively, they can be added by highlighting them in the Editor and selecting the context menu option Add Selection to Watch. The variable’s current value (or values) is displayed in the second column and its type is displayed in the third column. The value can be overwritten by typing a new value. The changed value is used next.

Figure 1.