in reply to Re: Debug import function code
in thread Debug import function code

Actually when I executing the script with -d option its exiting somewhere in the middle of import code. Thats the reason i would want to debug import code. Any way to do this?

Replies are listed 'Best First'.
Re^3: Debug import function code
by hardburn (Abbot) on Sep 02, 2011 at 12:42 UTC

    Add $DB::single = 1 to the import routine. That should make the debugger break at that location.


    "There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.