| 1 | # Copyright (C) 2012 Rocky Bernstein <rocky@cpan.org> | ||
| 2 | =head1 C<Devel::Trepan::Terminated> | ||
| 3 | |||
| 4 | Contains the C<at_exit> routine that the debugger uses to issue the | ||
| 5 | C<Debugged program terminated ...> message after the program completes. | ||
| 6 | |||
| 7 | =cut | ||
| 8 | |||
| 9 | # rocky: I'm copying what perl5db does here, which I suppose has some | ||
| 10 | # time-honored benefit. That doesn't mean though that I like it. FIXME! | ||
| 11 | package Devel::Trepan::Terminated; | ||
| 12 | |||
| 13 | 12 | ▶ | sub at_exit { |
|
Subroutine
at_exit: called CC=1 SCAR=1.2
Pod
undocumented
| |||
| 14 | 0 | ▶ | $DB::ready = 1; |
|
Subroutine
at_exit: not called CC=1 SCAR=1.2
Pod
undocumented
| |||
| 15 | # The below is there to have something to look at in "list" command. | ||
| 16 | 0 | "Debugged program terminated. Use 'q' to quit or 'R' to restart."; | |
| 17 | } | ||
| 18 | |||
| 19 | 12 | 'Just another Perl module'; | |