bsb has asked for the wisdom of the Perl Monks concerning the following question:
I have a script which runs under the debugger (perl -d) and sets up a debugging env for me to play with interractively. Currently I run the program (./dbg) then type 'c' in the debugger to have it execute, leaving objects to play with. I'm sure there's some way to to this automatically but I couldn't find it.
This seemed promising, but I could get interaction back:
Thanks,BEGIN { parse_options("NonStop=1"); }
Brad
The script concerned (not really relevent):
#!/usr/bin/perl -dw use lib './lib'; use MY::DBI; {no warnings 'once'; $p = MY::Patient->retrieve(1); $u = MY::User->retrieve(1); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Soln: Automatically "continue" script under the debugger
by bsb (Priest) on Jun 27, 2003 at 10:22 UTC | |
|
Re: Automatically "continue" script under the debugger
by BrowserUk (Patriarch) on Jun 27, 2003 at 09:38 UTC | |
by bsb (Priest) on Jun 27, 2003 at 09:54 UTC |