| |||
| Home > ARM Debuggers for Windows and UNIX > Getting started > Starting and closing the debugger | |||
Start and close the ADW or ADU as follows.

Start the ARM Debugger for Windows (ADW) in any of the following ways:
if you are running Windows 95 or Windows 98, click on the ARM Debugger for Windows icon in the ARM SDT v2.50 Program folder
if you are running Windows NT4, double click on the ARM Debugger for Windows icon in the ARM SDT v2.50 Program group or select Start ? Programs ? ARM SDT v2.50 ? ARM Debugger for Windows
if you are working in the ARM Program Manager, click the ARM Debugger button or select Debug project from the Project menu
launch ADW from the DOS command-line, optionally with arguments.
Start the ARM Debugger for UNIX (ADU) in either of the following ways:
from any directory type the full path and name of the debugger, for example, /opt/arm/adu
change to the directory containing the debugger and type its name, for example, ./adu
The possible arguments (which must be in lower case) for both ADW and ADU are:
-debug ImageNameLoad for
debugging.ImageName
-exec ImageNameLoad and run .ImageName
-resetReset the registry settings to defaults.
-nologoDo not display the splash screen on startup.
-nowarnDo not display the warning when starting remote debugging.
-nomainbreakDo not set a breakpoint on main() on
loading image.
-script ScriptNameObey the on
startup. This is the equivalent of typing obey ScriptNameScriptName as
soon as the debugger starts up.
-symbolsLoad only the symbols of the specified image. This is equivalent to selecting Load Symbols only… from the File menu.
-li, -biStart the debugger in LIttle-endian or BIg-endian mode.
-armulStart the debugger using the ARMulator.
-adp -linespeed baudrate [-port
[s=serial port[,p=parallel
port]] |[e=ethernet address]]Start the debugger using Remote_A, if available in the current RDI connection list.
You can use -linespeed only
in conjunction with baudrate-adp, to specify the baud rate
of the connection.
You can use -port only in conjunction with -adp,
to specify the connection to the device.
For example, to launch ADW from the command-line and load sorts.axf for debugging,
but without setting a breakpoint on main(),
type:
adw -debug sorts.axf -nomainbreak
To launch ADW (with arguments) from APM, select Project ? Edit Variables ? adw and enter the arguments
after adw in the Value box. Refer to Specifying command-line
arguments for your program for more information
on specifying command-line options.
When you start the ARM Debugger, the windows you were using last time are again displayed. These usually include the Console, Command, and Execution windows, and you can load your executable image.