Examining variable values

Using Variables views

Each Variables view shows one or more types of variables in an expandable outline. Double-click the variable names or click on the plus and minus signs next to them to expand and contract the hierarchy. If you open a new Variables view, it shows all variable types.

Table 25-3: Variable views in the debugger

Variable type

What the Variables view shows

Local

Values of variables that are local to the current script or function

Global

Values of all global variables defined for the application and properties of all objects (such as windows) that are open

Instance

Properties of the current object instance (the object to which the current script belongs) and values of instance variables defined for the current object

Parent

Properties of the parent of the current instance

Shared

Objects, such as application, window, and menu objects, that have been opened, and the shared variables associated with them