The
Debug menu is available only in debugging mode. For additional information about debugging, see
Debugging Test Scripts.
The menu contains the following commands.
Command (Shortcut)
Description
Run and Debug/Continue (F9)
Runs the script in the debugging window until reaching the first breakpoint or the end of the script. Execution stops just
before the line with the breakpoint.
Step Over (F8)
Available only after using
Debug > Run, when the execution has stopped at a breakpoint. Executes the current line of code in the active script or in a file that
is called by the active script, without stepping into any functions called by the current line. Control stops at the next
statement.
Step Into (F8)
Available only after using
Debug > Run, when the execution has stopped at a breakpoint. Executes the current line of code in the active script or in a file called
by the active script. If the current line has a breakpoint, the line executes. If the current line contains a function call,
control passes into the function and execution stops at the first statement.
Finish Function
Executes the script until the point where the current function returns.
Run to Cursor (Shift+F9)
Sets a temporary breakpoint, which is indicated by a hollow red circle in the margin, on the line that contains the cursor.
Executes the script until reaching this temporary breakpoint and then clears the breakpoint.
Abort (LShift+RShift)
Terminates execution of the script you are debugging. Abort appears when you have executed scripts on a target machine. If
a script contains a breakpoint,
Abort has no effect.
Reset
Frees memory and all variables, and clears the call stack of the script that you are debugging.