Order of commands – Freescale Semiconductor Microcontrollers User Manual

Page 31

Advertising
background image

Debugger Interface

Starting the Debugger

31

Microcontrollers Debugger Manual

-Nodefaults

This prevents the debugger from loading the default layout. For example:

c:\Program Files\Freescale\CodeWarrior for Microcontrollers

V6.1\prog\hiwave.exe

-nodefaults

-Cmd = <Command>

This option specifies a command to be executed at start-up: -cmd = {command}. For
example:

c:\Program Files\Freescale\CodeWarrior for Microcontrollers

V6.1\prog\hiwave.exe -cmd="open recorder"

-C <cmdFile>

This option specifies a command file to be executed at start-up. For example:

c:\Program Files\Freescale\CodeWarrior for Microcontrollers

V6.1\prog\hiwave.exe -c c:\temp\mycommandfile.txt

-ENVpath: "-Env" <Environment Variable> "=" <Variable
Setting>

This option sets an environment variable. This environment variable may be used to
overwrite system environment variables. For example:

c:\Program Files\Freescale\CodeWarrior for Microcontrollers

V6.1\prog\hiwave.exe -EnvOBJPATH=c:\sources\obj

NOTE

Options are not case sensitive.

Order of Commands

Commands specified by options are executed in the following order:

1. Load (activate) the project file (see below). If the project file is not specified,

project.ini

is used by default.

2. Load <exeFile> if available and start running unless option |(W) was specified

3. Execute command file <cmdFile> if specified

4. Execute command if specified

5. Start running unless option |(W) was specified

NOTE

In version 6.1 of the debugger, the loaded program starts after all command and
command files are executed.

Advertising