User Guide > Scripting > Script Debugging > Accessing EZscript Debugger
Was this helpful?
Accessing EZscript Debugger
This debugger is integrated with the EZscript Editor. When in EZscript Editor, you can run the debugger to test a script or an expression code and the execution flow.
You can access the EZscript Debugger from multiple locations that are listed in the following table. Before invoking the debugger, however, you will need to do some setup prerequisites for map designer and process designer. For more information, see Debugging Prerequisites.
Location
Details
EZScript Editor
and
EZScript Expressions Editor
Create or open an EZscript Library artifact. The EZscript Library file opens in an EZscript Editor tab, and you can access the debug options from:
The toolbar and the EZScript menu. For more information, see Debug Toolbar and Menu Options.
The script by double-clicking the space left of the line number to toggle breakpoint ON or OFF. For more information, see Adding and Removing Breakpoints.
The Debug tab that has a Variable Section that displays the variables and their value and a Breakpoint Section that displays the lines where the breakpoint has been set. For more information, see Debug Tab.
Process Editor > Script step
Open a process with a Script step. Select the Script. The properties tab for the Script step is displayed at the bottom. Select the Expression option and click Open. The EZscript Expressions window is displayed from where you can debug the script.
Process Editor > Start step
Open a process and select the Start step. The properties tab for the Start step is displayed at the bottom. Select the Expression option and click Open. The EZscript Expressions window is displayed from where you can debug the scripted.
Process Editor > Stop step
Open a process and select the Stop step. The properties tab for the Stop step is displayed at the bottom. Select the Expression option and click Open. The EZscript Expressions window is displayed from where you can debug the scripted.
Map file > Sources tab
In the Define Filters section, click . The EZscript Expressions window is displayed.
In the Define Sort Options section, click to add a field. The field is added to the fields list. Click the field that is added and from the drop-down list, select <Build Expression..>. The EZscript Expressions window is displayed.
From the Source drop-down menu, select Constants. In Value Expression field, click ... The EZscript Expressions window is displayed.
Map file > Targets tab
In the Define Filters section, click . The EZscript Expressions window is displayed.
Map file > Mapping tab > Simple View > Field View
In the Target Field Expression column, click the required field and then click .... The EZscript Expressions window is displayed from where you can debug the expression or script.
Map file > Mapping tab > Simple View > Events View
In Simple View > Mapping tab, click Events, and then click . You can debug the expressions in Event Expression Parameters, Conditional Expression, or Action Parameters.
Map file > Mapping tab > Simple View > Advanced View
In Advanced View > Mapping tab, click the required source or target record for which you want to add the events. In the source tree view, click Events, and then click . You can debug the expressions in Target Field Expressions, Event Expression Parameters, Conditional expression, or Action Parameters.
Map file > Configuration tab
In Map Events section, click . You can debug the expressions in Target Field Expressions, Event Expression Parameters, Conditional expression, or Action Parameters.
Note:  If you are debugging either a Map or a Process script and that Map or Process contains script modules (added in the Configuration>Script Libraries section) you can step into the functions contained in that script library. A separate script tab will open in the script dialog for each stepped into script library.
Last modified date: 07/26/2024