User Guide > Scripting > Script Debugging > Debugging Prerequisites
Was this helpful?
Debugging Prerequisites
EZScript Editor - None
Map Designer - Connect to your source and target and go to the Mapping tab. If the EZScript has runtime variables that use field values, click on Show Results () and select which record you want to debug by entering the number and pressing Enter or clicking the right arrow icon until you see the record number you want to debug. Now go to the EZScript expression you wish to debug and press the … button beside it to launch the EZScript dialog. If the EZScript is not using field values then you can directly debug the EZScript from the Mapping tab, without clicking on Show Results icon.
Process Designer - Select the Start, Stop, or any Script step. Right-click the step and select Enable Debug. The color and look of the icon changes. Now run the process. When execution hits that step, the EZScript dialog will appear and you can debug the script. You can disable debugging by right-clicking the step and selecting Disable Debug. The color and look of the icon is reset.
Data Profiler - This editor does not support EZscript.
When working within the EZscript editor or dialog, you can start the debugger in one of the following ways:
Select Debug from the EZScript menu
Click the Debug icon from the Debug toolbar
As soon as you start Debugging, a Debug tab at the bottom of the window gets focus and the debugger starts executing your code.
Note:  Before starting to debug, you will want to set one or more breakpoints in your script. For more information, see Adding and Removing Breakpoints.
Last modified date: 07/26/2024