Chapter Contents

Previous

Next
Command Directory

continue

Continue Execution to Next Line-Number Hook without Stepping into Functions

ABBREVIATION
c, con{tinue}

FORMAT
continue [INTEGER]

DESCRIPTION
The continue command resumes execution of a program and breaks at the next line-number hook in the context of the current function. However, a continue command issued at a function return is identical to a step command. The debugger breaks at the epilog, first at the callee's side and then at the caller's side.

The continue command can be thought of as a step over command because, when at a line hook, it steps over function calls. If a function is recursive, either directly or indirectly, continue does not break in a recursive invocation.

INTEGER is a nonnegative integer. (INTEGER can be 0.) Use the INTEGER argument to specify the number of times you want the continue command to be performed.

The continue command does not suppress breakpoints requested by other commands (for example, break ). However, the occurrence of such breakpoints does not interfere with the eventual interruption of execution as requested by continue. (At such a breakpoint, enter go.)

If you issue continue with an INTEGER argument, and the debugger breaks before the continue command is completed, you can issue it again with a different value for INTEGER to change the number of times continue is performed. Suppose that the last continue issued is continue 7, and you reach a breakpoint after continue is performed four times. If you decide you want continue to be performed only once more, issue continue 1 at the breakpoint. (The three pending continue commands are replaced with one continue.) continue 0 discards the three pending continue commands and causes execution to resume. The go command causes the three pending continue commands to be executed.

EXAMPLES

continue
resumes execution and breaks at the next line-number hook without stepping into functions.

continue 10
resumes execution and breaks at the tenth line-number hook without stepping into functions.

SYSTEM DEPENDENCIES
none

COMMAND CAN BE ISSUED FROM

PROFILE no
configuration file no
Source window prefix none

SCOPE
The continue command is not affected by changes in scope.

RETURN CODES SET
not applicable

SEE ALSO


Chapter Contents

Previous

Next

Top of Page

Copyright © 2001 by SAS Institute Inc., Cary, NC, USA. All rights reserved.