in reply to Re^2: perl debug options file
in thread perl debug options file

Well, you didn't tell me it was windows! ;) Details details. I don't think it's a perl version issue. Although I have slept since then, I do remember running this on perl 5.005.

I think the debugger is having trouble finding the .perldb file. I tried putting the .perldb file in %HOME% with no luck.

An alternative suggestion for you. If you are in a long debugging session (debug, tweak, debug...), you could add $DB:single=1 at locations in your script that you're trying to debug. Then when you run perl with the -d option, the script will break right after the $DB:single=1 line.

Just an alternative. I don't have an answer for the .perldb issue. *sorry*


"Look, Shiny Things!" is not a better business strategy than compatibility and reuse.


OSUnderdog

Replies are listed 'Best First'.
Re^4: perl debug options file
by anadem (Scribe) on Oct 26, 2004 at 19:44 UTC
    > Well, you didn't tell me it was windows! ;)
    sorry, I realised details were missing right after posting

    $DB:single=1 will do fine (yes, I'm in a tweaking loop)

    thanks again

Re^4: perl debug options file
by anadem (Scribe) on Oct 26, 2004 at 22:33 UTC
    > Well, you didn't tell me it was windows! ;)
    sorry, I realised details were missing right after posting

    DB::single=1 will do fine - thanks for the tip (yes, I'm in a tweaking loop)

    thanks again