I didn't know you could have a per-directory .perldb file. I was using the DB::parseoption sub instead. (I forgot the DB:: in my original post)
With NonStop the script would load the debugger, run the script and exit (instead of dropping back to the debugger).
I tried kill INT, $$; at the end of the script, to no avail:
$ ./dbg Default die handler restored. Loading DB routines from perl5db.pl version 1.07 Editor support available. Enter h or `h h' for help, or `man perldebug' for more help. NonStop = '1' DBI::CODE(0x82f8a04)(/usr/local/lib/perl/5.6.1/DBI.pm:419): 419: return unless defined &DBI::trace_msg; # return unless boo +tstrap'd ok DB<1> x $u 0 undef DB<2> c Debugged program terminated. Use q to quit or R to restart, use O inhibit_exit to avoid stopping after program termination, h q, h R or h O to get additional info. DB<2> x $u 0 MY::User=HASH(0x8505bec) 'id' => 1 'name' => 'Brad Bowman' 'passwd' => 'password' 'username' => 'bsb' DB<3>
In reply to Re: Re: Automatically "continue" script under the debugger
by bsb
in thread Automatically "continue" script under the debugger
by bsb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |