In This Book

Abbreviating Debugger Commands

When you enter debugger commands, you can abbreviate any debugger command or command argument to its ￿rst three characters.

For example, des total is equivalent to describe total and bre 17 is equivalent to breakpoint 17 .

Entering Multiple Debugger Commands on One Line

When you enter a single debugger command, terminate it with an end-of-line (EOL), which is usually done by pressing 4Return5. When you enter multiple commands on one line, separate each command with a semicolon (;).

The alias , debug , define , target command , property flags, and shell commands require the rest of the line as an argument. They only recognize an EOL, not a semicolon, as a terminator.

However, you can combine these commands with others on the command line if you enclose them in square brackets [], braces {}, or parentheses (). For example, you could create an alias and then invoke it on the same command line:

[alias ph print -hex]; ph foo

Using Command Lists

A command list is one or more debugger commands with arguments, separated by semicolons and enclosed in square brac kets [], braces {}, or parentheses ().

For example, you can direct the output of sev eral commands in to a ￿le:

[list breakpoints; list defines; list aliases] >save

Notice that the output redirection operator m ust have a space before it but no space after it.

5-2 Using Debugger Commands