During debugging, you can set breakpoints on most lines in the script except for blank lines or comment lines.
Setting a breakpoint on the first line of a function or test case
- In the
Silk Test Classic menu, click
.
- Double-click a module name to list the functions, which are declared in the module, in the
Function list.
- Double-click a function name in the
Function list to set a breakpoint on the first line of that function.
Setting a breakpoint on a line in a function or test case
Do one of the following:
- Double-click in the left margin of the line.
- Click on the line where you want to set a breakpoint, right-click, and select
Toggle Breakpoint.
- Place the cursor on the line where you want to set a breakpoint and choose
in the
Silk Test Classic menu.
Setting a breakpoint on a specific line in a script
- In the
Silk Test Classic menu, click
.
- In the
Breakpoint field, type the number of the line on which you want to set a breakpoint. For example entering
8 sets a breakpoint on the eighth line of the script.
- Click
OK.
Setting temporary breakpoints
Click
to set a temporary breakpoint, which is indicated by a hollow red circle in the left margin of the line where the cursor
is located. When the script is executed the next time in debugging mode, the script execution stops at the marked line and
the breakpoint is cleared.