Development Guide

Chapter 4
|
Debugging and analyzing files 31
2. In the Manage Scripts dialog box, double-click the script name.
Or, click the Edit button in the Script Debugger dialog box.
3. In the Edit Script dialog box, select one or more script steps, then click Disable or Enable.
For more information about debugging scripts, see Help.
Using the Data Viewer
You can use the Data Viewer to monitor expressions like field values, local and global variables, and
calculations. You can monitor these expressions while running scripts or while testing them in the
Script
Debugger.
The Current tab shows the fields and variables that are in the currently running script, fields that are
referenced in calculations used in the script, and global variables. The Watch tab monitors expressions that
you entered until you remove them from the list.
To monitor fields, variables, and calculations:
1. Choose Tools menu > Data Viewer, or click the Open/Close Data Viewer button in the Script
Debugger window.
2. In the Current tab, double-click a value to display a dialog box where you can:
1 View, edit, and copy local or global variables.
1 View (but not edit) field values.
3. To sort expressions, click a column heading. Expressions sort independently in this order: fields, global
variables, local variables.
4. To add an expression to the Watch tab, click Add to Watch.
The expression is copied to the Watch tab, and the Watch tab opens.
5. To view restricted-access expressions, click , then log into an account that has full access privileges.
Note If you logged in to edit restricted-access scripts in the Script Debugger, your access privileges also
apply to the Data Viewer. If you logged in from the Data Viewer, your access privileges also apply to the
Script Debugger. In either case, your editing privileges last until you close the Script Debugger or the
Data Viewer.
Click to view
restricted access
expressions
Click a column
heading to sort