Source Debugger

VTS includes a debugging and analysis tool known as the Source Debugger.

image\SourceDebuggerEx.gif

Note: If the Source Debugger application is not referenced in the VAM, you must manually add it. The Source Debugger application's directory is named "Source Debugger", and is stored within the VTS installation directory. If you require assistance in adding the Source Debugger application to the VAM, please refer to the instructions provided in Add an Existing Script Application to the VAM ".

The Source Debugger is a powerful debugging and analysis tool that enables you to test code written using the VTS scripting language. Using the Source Debugger, you can perform such tasks as:

      Examine the source code for the VTS application you are debugging

      Pause execution of VTS script code by setting breakpoints

      View the execution history of a specific thread when a breakpoint is "hot"

      View and modify variable values

      Search for a specific instance of a module by specifying a Boolean expression

      Locate module instances that use a specific variable in steady-state, and find the module instance that is setting a variable in steady-state

      Build up to four "Watch" lists of selected variables that remain on view continuously

      Slay instances of modules

Note: In addition to the Source Debugger, VTS features a standard debugger (see Debugger). Of the two debugging and analysis tools, the Source Debugger is the more advanced. The Source Debugger extends the abilities of the standard debugger by enabling you to visually examine the current module hierarchy structures; locate the module source files corresponding to a module instance; set breakpoints within the module code; examine the execution flow up to execution of the breakpoint; watch given variables for value changes; search for module instances containing specific variables, parameters, and modules; and determine which module instance is setting a variable or is dependant on the content of that variable.

This discussion of the Source Debugger is separated into two parts:

      Source Debugger Components, which provides an overview of the Source Debugger and its tools

      Using the Source Debugger, which provides step-by-step instructions on performing the tasks listed above (and more!) using the Source Debugger

Topics in this section:

Source Debugger Components

Using the Source Debugger