You copied the Doc URL to your clipboard.


Loads and runs a script file to control and debug your target.

The following types of script are available:


DS-5 Debugger commands.


CMM is a scripting language supported by some third-party debuggers. DS-5 supports a small subset of CMM-style commands, sufficient for running small target initialization scripts.


Jython is a Java implementation of the Python scripting language. It provides extensive support for data types, conditional execution, loops, and organization of code into functions, classes, and modules, as well as access to the standard Jython libraries. Jython is an ideal choice for larger or more complex scripts.

Note Debugger views are not updated when commands issued in a script are executed.


source [/v] filename [args]



specifies verbose output. Script commands are interleaved with the debugger output.


specifies the script file. Use these file extensions to identify the script type:


for DS-5 scripts.

.cmm,  .t32

for CMM scripts.


for Jython scripts.


specifies the number of arguments (zero or more) to pass to the script (only supported for Jython scripts).

Example 1-198 Examples

source myScripts\myFile.ds        # Run DS-5 Debugger commands from myFile.ds.
source myScripts\myFile.cmm       # Run CMM-style commands from myFile.cmm.
source myScripts\myFile.t32       # Run CMM-style commands from myFile.t232.
source /v myFile.ds               # Run DS-5 Debugger commands from myFile.ds and
                                  # display commands interleaved with debugger output.
source myScripts\        # Run a Jython script from file