Assigns the debugger's abort function to another Ctrl-key
sequence. By default, Ctrl/C does the abort function.
NOTE
This command is not available in the VSI DECwindows Motif for
OpenVMS user interface to the debugger.
Format
SET ABORT_KEY = CTRL_character
1 – Parameters
character
Specifies the key you press while holding down the Ctrl key. You
can specify any alphabetic character.
2 – Description
By default, the Ctrl/C sequence, when entered within a debugging
session, aborts the execution of a debugger command and
interrupts program execution. The SET ABORT_KEY command enables
you to assign the abort function to another Ctrl-key sequence.
This might be necessary if your program has a Ctrl/C AST service
routine enabled.
Many Ctrl-key sequences have predefined functions, and the SET
ABORT_KEY command enables you to override such definitions (see
the OpenVMS User's Manual). Some of the Ctrl-key characters not
used by the operating system are G, K, N, and P.
The SHOW ABORT_KEY command identifies the Ctrl-key sequence
currently in effect for the abort function.
Do not use Ctrl/Y from within a debugging session. Instead, use
either Ctrl/C or an equivalent Ctrl-key sequence established with
the SET ABORT_KEY command.
Related commands:
Ctrl/C
Ctrl/Y
SHOW ABORT_KEY
3 – Example
DBG> SHOW ABORT_KEY
Abort Command Key is CTRL_C
DBG> GO
. . .
<Ctrl/C>
DBG> EXAMINE/BYTE 1000:101000 !should have typed 1000:1010
1000: 0
1004: 0
1008: 0
1012: 0
1016: 0
<Ctrl/C>
%DEBUG-W-ABORTED, command aborted by user request
DBG> SET ABORT_KEY = CTRL_P
DBG> GO
. . .
<Ctrl/P>
DBG> EXAMINE/BYTE 1000:101000 !should have typed 1000:1010
1000: 0
1004: 0
1008: 0
1012: 0
1016: 0
<Ctrl/P>
%DEBUG-W-ABORTED, command aborted by user request
DBG>
This example shows the following:
o Use of Ctrl/C for the abort function (default).
o Use of the SET ABORT_KEY command to reassign the abort
function to Ctrl/P.