Watching variables

<< Click to Display Table of Contents >>

Watching variables

Use the Watch window to view the content of variables during the execution of a script. This is especially useful when running a script step by step.

In order to monitor a variable, do the following:

1.If the watch window is currently not visible, activate it by using the ribbon command View | Watch.

2.In the script, click on the name of the variable that you want to monitor. Then right-click to open the context menu and choose the command Show variable. You can also simply type in the name of the variable in an empty row of the watch window.

3.Now start the script with the ribbon command Home | Program group | Start, or alternatively with Home | Trace or Home | Step.

The content of the variable will be shown in the watch window and be constantly updated.