in reply to Automatically "continue" script under the debugger

It's not entirely clear to me if this is the answer to your question, but I think that you may want to look into the use of the envirnment variable PERLDB_OPTS and or the use of an rc file: Quoting from perldebug

The debugger has numerous options settable using the o command, either interactively or from the environment or an rc file. (./.perldb or ~/.perldb under Unix.)

Is that what you wanted?


Examine what is said, not who speaks.
"Efficiency is intelligent laziness." -David Dunham
"When I'm working on a problem, I never think about beauty. I think only how to solve the problem. But when I have finished, if the solution is not beautiful, I know it is wrong." -Richard Buckminster Fuller


  • Comment on Re: Automatically "continue" script under the debugger

Replies are listed 'Best First'.
Re: Re: Automatically "continue" script under the debugger
by bsb (Priest) on Jun 27, 2003 at 09:54 UTC
    Not quite. There doesn't seem to be an option to run the script at the start.

    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: