For information on debugging tests, see
Debugging Tests. The
Debug menu contains the following commands:
Command (Shortcut)
Availability
Description
Compile (F7)
Scripts
Checks that the script syntax meets all preconditions for compiling, compiles the code, and shows any errors that occur.
Step Into (F8)
Scripts
Visual tests
Plays back a visual step one test step at a time or a script one statement at a time.
Step Over (Shift+F8)
Scripts
Visual tests
Plays back an embedded visual test or script in its entirety and suspends in debug mode at the next step in the original visual test or script. Also steps over a function call when pressed while in a VB .NET script.
Step Out (Ctrl+Shift+F8)
Scripts
Visual tests
Executes all remaining steps in a visual test being played back from another visual test, then suspends playback at the next step in the original visual test. For scripts, executes all remaining code in a procedure as if it were a single statement, and exits to the next statement in the procedure that caused the procedure to be initially called.
Run To Cursor (Ctrl+F8)
Scripts
Visual tests
Plays back a visual test to the currently selected test step or a script to the currently selected statement.
Run From Cursor
Visual tests
Plays back the visual test from the currently selected test step.
Set/Clear Breakpoint (F9)
Scripts
Visual tests
Sets a breakpoint at the selected step or line of code or clears an existing breakpoint from the selected step or line of code.
Clear All Breakpoints (Ctrl+Shift+F9)
Scripts
Visual tests
Clears all breakpoints in all open visual tests and VB .NET scripts.
Set Run pointer/next Statement (Ctrl+F9)
Scripts
Visual tests
Executes playback to the next statement or pointer. Enabled when in debug mode.
Local Variables
Scripts
Visual tests
Displays a window that lists all variables and their values for the current visual test or script and any embedded visual tests or scripts.