Debug scripts
The Verification module supports scripting to display labels on a verification form translated for the currently-selected language or provide special logging functionality, for example. If the option Activate script debugging is selected on the Miscellaneous tab of the Settings window, a runtime error opens the Script Code window where you can debug the implemented code. For debugging, you can set breakpoints and analyze the script by checking the value of a variable, for example. By default, the option Activate script debugging is disabled. For further details, refer to the Scripting Help.
-
Enable script debugging for
Verification, and complete the following steps:
- Start the Verification module.
-
From the
Options menu, select
Settings.
The Settings window is displayed.
- Click the Miscellaneous tab.
- From the Script pane, select Activate script debugging.
- Click OK to close the window.
-
From the
Options or shortcut menu, select
Show Script.
The WinWrap Basic Script Code window is displayed.
-
Select the correct sheet and insert a breakpoint, for example.
At runtime, processing stops at the inserted breakpoint so that you can check the content or variables or how processing is continued.