VLISP provides you with an entire toolkit of programming and debugging tools. One of the most valuable tools is a Watch, which lets you examine variables in more detail than appears in the VLISP Console window. You can also watch local variables within functions as the function executes.
- Choose Debug Add Watch from the
VLISP menu. VLISP displays a dialog box titled “Add Watch.”
VLISP displays the value of the variable on a single line within the Watch window—the base window shown in the illustration. In this case, the value of the variable is a long list, and you cannot see its entire value. You can resize the Watch window by dragging its border, but there is a better alternative.
- Double-click on the
variable name in the Watch window. This opens an Inspect window:
- Double-click on the line
with the association list key 11. VLISP opens another Inspect window:
- When you are done inspecting variables, close all the Inspect windows but keep the Watch window open.