Chapter Contents |
Previous |
Next |
Command Directory |
res{ume
}
Format 1: |
resume |
|
Format 2: |
resume |
LINENO |
Format 3: |
resume |
FUNCTION-NAME |
Format 4: |
resume |
FUNCTION-NAME LINENO |
resume
command enables you to resume execution of a program running under the debugger
at any line-number hook in any active function in the calling sequence. The resume
command, or its alias goto
,
can be issued when stopped at any line or return hook. While you cannot issue
a resume
command when stopped at an entry hook,
you may be able to step to the first line hook at the opening brace and then
issue resume
.
abort
,
identified by the SIGABRT signal
The location in your program where execution resumes
depends on the format of the resume
command
that you used and where execution of the program stopped. Note that while
you cannot resume a library function or a function compiled with the
nodebug
option, you can resume a function that called one of these
two types of functions. However, the calling function must be compiled with
debug
.
Because the effect of the resume
command is similar to inserting a one-time
goto
or
longjump
in the program, when bypassing code, you must ensure that variables
contain proper values for resumption of execution at the target hook.
resume
resume 23
resume prevfunc
prevfunc
.
resume prevfunc 34
prevfunc
.
PROFILE | no |
configuration file | no |
Source window prefix |
g |
resume
command is affected by changes in scope.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.