History commands

The debugger has a simple history mechanism that remembers the last 60 commands. This can re-examine long expressions. The history syntax has changed from MULTI version 1.8.9. Where 1.8.9 used the `#' character for history, MULTI 2000 uses the `!' character, similar to most UNIX shells. Some history examples:
History commands
Expression Meaning
h
Shows the existing history.
!!
Re-executes the last command.
! number
Re-executes command number number.
! string
Re-executes the command starting with the given string.
~
Smart repeat of last command. This increments the last command, if appropriate, before repeating it. For example, if the last command displays a memory location, this command increments the address displayed to show the next location.
The following commands are repeated with a ~:
Any of the single step commands (s, si, S, Si).
Any command to display source lines.
The search commands / and ?.
The ^ command.
Any command to display memory.
=
This command was used in 1.8.9 MULTI but has been removed. Its behavior (smart repeating a command 10 times) can be accomplished by making an alias that uses ~ 10 times in a row. See alias.
%
Commands involving % were used in non-GUI mode in 1.8.9 MULTI. These are no longer supported.

Related topic:


Previous

Next



Copyright © 1999, Green Hills Software. All rights reserved.