The Watch window monitors the values of AutoLISP variables during program execution. Each Watch window element line displays the name of a variable and its current value, as illustrated in the following figure:
The Watch window is updated at each step of a VLISP interactive session and always shows the current environment state. In debugger mode, the Watch window is refreshed automatically at the end of every expression evaluation.
If VLISP cannot determine which variable you are interested in based on the cursor position or the text you've selected, it displays the Add Watch window:
Specify the name of the variable to be watched in this window, then click OK.
The Watch window retains its variables during a VLISP session. This means that if you invoke Watch, add variables to the Watch window, and then close the Watch window, the variables you added will appear in the Watch window, if you invoke Watch again during the current session.
.)The introductory section of this chapter includes an example of using the Watch window. (See