in reply to DBI/module debugging?

Greetings,

So what's preventing you to just fire up perl -d <your script> and go from there? You can go inside DBI.pm and debug it just fine.
And yes, your perl is old and mouldy. It needs updating.(*)
Cheers,
alf

(*)From an old .aiff file that once shipped with SGIs...


You can't have everything: where would you put it?

Replies are listed 'Best First'.
Re: Re: DBI/module debugging?
by IlyaM (Parson) on May 29, 2002 at 18:08 UTC
    So what's preventing you to just fire up perl -d <your script> and go from there? You can go inside DBI.pm and debug it just fine.

    It is not that easy. Parts of DBI are writen in C so you just cannot use perl debugger to "go inside" them. And even if DBI were pure Perl it is quite complex software (i.e. debuging it with perl -d can be PITA especially for newbie).

    Maybe better (easier) method is enabling DBI debug trace. See DBI documentation for description of method trace and section DEBUGGING.

    --
    Ilya Martynov (http://martynov.org/)