To monitor the code's operation, use the Call Stack option.
From the View menu, select Call Stack.
The Call Stack window is displayed.
Step Into/Over/Out of your code as needed. The Call Stack window lists the new procedures as they become active. Evaluate this list for correctness.
Run your debugging procedures with breakpoints so you do not have to go through all lines of code. Using break mode allows you to halt the operation of a program so you can analyze its current state.
Close the Call Stack window.
To exit the Script Debugger window, click Exit Debugger button from the toolbar.