The
View menu is only available in debugging mode and contains the following commands.
Command (Shortcut)
Description
Expression
Opens an
Expression window in which you can evaluate an expression and check the result. For additional information, see
Evaluating Expressions.
Global Variables
Displays the
Globals window, which lists all global variables that are in scope (accessible) from the current source line and their current values.
For additional information, see
Viewing Variables.
Local Variables
Displays the
Locals window, which lists all local variables that are in scope (accessible) in the current function declaration and their current
values. You can set a new value for the variable in the
Set Variable text field. For additional information, see
Viewing Variables.
Expand Data
Expands the data about a variable. A minus (-) in front of a variable name indicates that more data is available. A plus (+)
in front of a variable name indicates that the data about it is already expanded. A period (.) indicates that all the data
about a variable is already displayed. You can also expand the data about a variable by double-clicking on the (+) symbol.
Collapse Data
Collapses the data about a variable. A plus (+) sign in front of a variable name indicates that the data about the variable
is already collapsed. A minus sign (-) in front of a variable name indicates that the data can be collapsed. A period (.)
indicates that all the data about a variable is already displayed. You can also collapse the data about a variable by double-clicking
on the minus (-) symbol.
Module
Opens the
View Module dialog box, which lists the modules used by the script being debugged. For additional information, see
Viewing a List of Modules.
Breakpoints
Displays the
Breakpoints window, which lists the module names and line numbers where breakpoints are set. Double-click an entry to move the focus
to that line in the script. For additional information, see
Breakpoints.
Call Stack
Displays the current call stack in the
Call Stack dialog box. For additional information, see
Call Stack Dialog Box.
Transcript
Makes the
Transcript dialog box for the current debugging session the active window.
Silk Test Classic sends error information and output from print commands to the transcript window. The contents of the transcript window are
not written to disk. For additional information, see
Viewing the Debugging Transcripts.