You copied the Doc URL to your clipboard.


This command loads and runs a script file to control and debug your target.

The following types of scripts 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 organisation 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.


source [/v] filename [args]



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


Specifies the script file. The following file extensions must be used to identify the script type:


for DS-5 scripts

.cmm, .t32

for CMM scripts


for Jython scripts.


Zero or more arguments to pass to the script (only supported for Jython scripts).


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

See also