Repeating Previous Commands

The debugger maintains a command history, so you can repeat commands that you have already entered in the debugger. This command history persists across debugging sessions.

To repeat the last command line do one of the following:

Press the up arrow once, then press Enter.

Enter two exclamation points (!!).

Press Enter.

Enter !-1.

To repeat a command line entered during the current debugging session:

Enter an exclamation point (!) followed by either the integer or the first part of the string associated with the command line.

For example, to repeat the seventh command used in the current debugging session, enter !7. To repeat the third most recent command, enter !-3. To repeat a command that started with bp, enter !bp.

Tip iconTip

See Also


Submit feedback on this help topic

Copyright © 2001-2011, Intel Corporation. All rights reserved.