User Guide

652
Chapter 46
Debugging Pane (Scripting)
When you step through code, the Immediate, Watch, Stack, and Loaded tabs are
displayed.
Figure 46-18
Debugging pane displayed in script window
Immediate tab. Click the name of any variable and click the eyeglass icon to display
the current value of the variable. You can also evaluate an expression, assign a
variable, or call a subroutine.
Type ?expr and press Enter to show the value of expr.
Type var = expr and press Enter to change the value of var.
Type subname args and press Enter to call a subroutine or built-in instruction.
Type Tr ace and press Enter to toggle trace mode. Trace mode prints each
statement in the immediate window when a script is running.