Running the script in the debugger can make it a lot easier to identify script errors. The debugger makes it possible to monitor every script statement and examine the variable values while the script is executed.
You launch the debugger by clicking the Debug button in the top menu of the Edit Script window.
The script is displayed in the window in the upper half of the debugger. The progress of the script execution is marked with a yellow bar. Break points can be inserted by clicking on the row numbers and removed by clicking a second time. Remove all breakpoints by clicking the Clear button. When a breakpoint is encountered, script execution is halted until instructed to proceed.
The statement being currently executed is displayed in the window in the middle.
Status codes and any script errors are displayed in the window to the bottom, left. This is essentially the same information that is displayed in the Script Execution Progress window when the script is run outside the debugger.
The right bottom window displays all script variables and their respective values. Variables that have changed are colored red.