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.

  1. Enable script debugging for Verification, and complete the following steps:
    1. Start the Verification module.
    2. From the Options menu, select Settings.

      The Settings window is displayed.

    3. Click the Miscellaneous tab.
    4. From the Script pane, select Activate script debugging.
    5. Click OK to close the window.
  2. From the Options or shortcut menu, select Show Script.

    The WinWrap Basic Script Code window is displayed.

  3. 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.