Rocky Bernstein > Devel-Trepan-0.49 > Devel::Trepan::CmdProcessor::Command::Quit

Download:
Devel-Trepan-0.49.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source   Latest Release: Devel-Trepan-0.58

quit[!] [unconditionally] [exit-code]

Gently exit the debugger and debugged program.

The program being debugged is exited via exit() which runs the Kernel at_exit() finalizers. If a return code is given, that is the return code passed to exit() - presumably the return code that will be passed back to the OS. If no exit code is given, 0 is used.

Examples:

 quit                 # quit prompting if we are interactive
 quit unconditionally # quit without prompting
 quit!                # same as above
 quit 0               # same as "quit"
 quit! 1              # unconditional quit setting exit code 1

See also set confirm and kill.

syntax highlighting: