source

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

The following types of commands are available:

DS-5 Debugger commands

A comprehensive set of commands to test and debug embedded applications. For full debug support it is recommended that you use these commands.

CMM-style commands

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

Show/hideSyntax

source [/v] filename

Where:

v

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

filename

Specifies the script file.

Show/hideDefault

The default is DS-5 Debugger commands.

Show/hideExample

Example 136. source

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.t32
source /v myFile.ds          # Run DS-5 Debugger commands from myFile.ds and
                             # display commands interleaved with debugger output

Show/hideSee also

Copyright © 2010, 2011 ARM. All rights reserved.ARM DUI 0452D
Non-ConfidentialID011411