Progress
Debugger Guide
RUN Command
Runs a specified procedure, bringing it into the Debugger context.
SYNTAX
PARAMETERS
procedure
The name of a Progress procedure.
NOTES
- You cannot specify input or output parameters for procedure.
- If the executing procedure file contains an internal procedure named procedure, the RUN command executes the internal procedure. Otherwise, it attempts to execute an external procedure named procedure.
- Before procedure runs, the executing procedure is pushed onto the call stack as if procedure were called from the executing procedure at its current stopping point.
- When procedure reaches a breakpoint or is stopped using the Debugger break interrupt function, the Debugger displays the listing for procedure in the Debugger window with all current breakpoints marked and the line pointer indicating the next line to execute.
- Any database activity is subject to the current transaction state. Any breakpoints set inside procedure are honored, and when the procedure completes, Progress returns to the Debugger for input.
- If a STOP Command or QUIT Command is encountered in procedure, the procedure terminates and returns control to the Debugger. The STOP or QUIT statements do not affect any other procedures above procedure on the call stack.
SEE ALSO
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |