Script debugging is a powerful tool that may help you to understand script work and find errors if something works wrong.
To get access to debugging menu, run the script editor from the main menu: Designer > Edit Database Scripts. The debugging option will be disabled if the script editor is opened from another place.
The Debug menu contains the following options:
When the script execution is stopped at a Breakpoint, or it has been executed via the Start Debug option, a debugging window will appear on the screen:
This window is similar to Script Editor, but is used for analysis of a script work. The command, before which the script has been stopped, is shown in red. Note that this command has not been executed yet.
In the left part of the window a list of local and global variables, used in the script, is shown, together with their values.
At the top of the window there is a debugging control panel:
Be careful using the Skip Line/Sub command in debugging. Skipping a part of the script will affect its functionality.
Copyright (C) 2001-2010 Binary Brilliant Inc. All Rights Reserved.