Progress
Debugger Guide
NEXT Command
Runs a specified number of executable lines from the current stopping point in the executing procedure.
SYNTAX
PARAMETERS
integer
An integer that specifies the number of executable lines to run. The default value is 1.
NOTES
- If the NEXT command executes a statement in a procedure that calls a trigger or subprocedure, the Debugger does not step into the trigger or subprocedure. The NEXT command executes the trigger or subprocedure and any other executable statements on the same line, and then proceeds to the next executable line of the calling procedure until a total of integer lines are executed.
- If the NEXT command encounters a breakpoint, it stops execution on the affected line, regardless of the value of integer.
- If the Debugger encounters a breakpoint in a trigger or subprocedure as part of a NEXT command, execution stops at the breakpoint and the executing trigger or procedure becomes the current procedure. You can continue execution from the breakpoint. Thus, although the NEXT command does not step into a subprocedure or trigger, it does break into one if a breakpoint occurs.
- If the NEXT command returns from a subprocedure, the return to the next executable line of the calling procedure counts as one line of the specified integer lines.
- When you return from a trigger or subprocedure that the NEXT command has broken into, the calling procedure executes any remaining statements on the line that invoked the trigger or subprocedure and proceeds to the next executable line.
SEE ALSO
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |