Desktop User Guides > Professional > Using UNICOM Intelligence Professional > Debugging mrScriptBasic code > Examining the values of variables > Using the Locals pane to examine values
 
Using the Locals pane to examine values
When you are debugging a script, the Locals pane displays the current value of all of the variables in the current scope.
This graphic is described in the surrounding text.
The Locals pane also displays the current value of the properties of the objects in the current scope. You can expand and inspect objects by clicking the plus icon next to the object, but note that an object can only be expanded while the script is halted during debugging, not when the script has completed.
This graphic is described in the surrounding text.
You can also use the Locals pane to check the value of the Err object’s properties. This is particularly useful when you are using error handling to stop the script failing and an error occurs.
This graphic is described in the surrounding text.
See also
Examining the values of variables