background image
<< Running Tests - Compacting results files | Debugger - Starting the debugger >>
Using the Debugger
<< Running Tests - Compacting results files | Debugger - Starting the debugger >>
User's Guide
171
7
C
h
a
p
t
e
r
7
Using the Debugger
You will find out about many of the errors or inconsistencies in your scripts
when SilkTest automatically raises an exception in response to them. Some
problems, however, cause a script to work in unexpected ways, but do not
generate exceptions. You can use SilkTest debugger to solve these kinds of
problems.
Using the debugger, you can step through a script a line at a time and stop at
specified breakpoints, as well as examine local and global variables and enter
expressions to evaluate.
But the SilkTest debugger is more than just a tool for fixing scripts. You can
also use the debugger to help find problems in your application, using the
debugging facilities to step through the application slowly so you can
determine just where a problem occurs.
What you will learn
This chapter contains the following sections:
Topic
Page
Starting the debugger
172
Setting breakpoints
173
Executing a script in the debugger
175
Viewing the debugging transcript
177
Viewing the call stack
178
Viewing other script elements
178
Evaluating expressions
179
Running, resetting, and terminating execution
180
Tips on debugging
180