Chapter Contents

Previous

Next
Command Directory

exit

Terminate Program Execution

ABBREVIATION
exi{t}

FORMATS
Format 1: exit
Format 2: exit nodrop

DESCRIPTION
Format 1: Format 1 immediately terminates program execution under the debugger, closing both program files and debugger files. Control returns to the operating system. The exit command is equivalent to calling the exit function from within a program.

Format 2: Format 2 uses the nodrop keyword in the debugger exit command to retain breakpoints in functions registered with the atexit compiler function. Normally, the exit command drops any outstanding breakpoints before terminating the program. If the program registers a function via the atexit function, any breakpoints in that function are dropped. When the nodrop keyword is used, however, outstanding breakpoints are not dropped automatically.

SYSTEM DEPENDENCIES
none

SCOPE
The exit command uses command scope to resolve references to all identifiers.

COMMAND CAN BE ISSUED FROM

PROFILE no
configuration no
Source window prefix none

RETURN CODES SET
not applicable

SEE ALSO
abort


Chapter Contents

Previous

Next

Top of Page

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