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); }
In reply to Automatically "continue" script under the debugger by bsb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |