Progress
Debugger Guide
EXIT Command
Clears all breakpoints, destroys the Debugger window, and returns all Debugger resources to the system.
SYNTAX
NOTES
- The effect of the EXIT command depends upon the technique used to start the Debugger.
- If the Debugger was started in stand-alone mode using the Debugger (-debug) startup parameter, the EXIT command terminates all work in process, terminates the Debugger, and exits to the operating system.
- If the Debugger was started by invoking the DEBUGGER handle INITIATE and SET-BREAK methods from a Progress procedure (in application mode), the EXIT command terminates all work in process, terminates the Debugger, and returns control to the Progress client session. If the invoking procedure is still running, control returns to the procedure at its current stopping point.
NOTE: The difference between techniques b and c is that in b, the invoking procedure runs in the Debugger context, continuing to execute while the Debugger is running; in c, the invoking procedure blocks while the Debugger is running and continues to execute only after the Debugger exits.- If the Debugger was started by invoking the DEBUGGER handle DEBUG method from a Progress procedure (in stand-alone mode), the EXIT command terminates all work in process, terminates the Debugger, and returns control to the invoking procedure after the statement that invoked the DEBUG method.
- If the Debugger was started from the Procedure Editor or AppBuilder using the Debug option of the Compile menu, the Debugger is running in application mode, and the EXIT command works as in technique b—that is, if the procedure run from the Editor or AppBuilder is still running, the Debugger returns to that procedure, continuing execution from its current stopping point; otherwise, the Debugger returns to the Editor or AppBuilder.
- If the Debugger was started from the ADE Desktop, the Debugger is running in stand-alone mode, and the EXIT command works as in technique c—that is, the Debugger returns to the ADE Desktop.
- Under all circumstances, the EXIT Command terminates any executing procedures started with the Debugger RUN Command and undoes all work associated with them.
- For more information on the Debugger modes of operation (stand-alone and application mode), see Starting and Stopping the Debugger."
Copyright © 2004 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |