Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: DBI/module debugging?

by alien_life_form (Pilgrim)
on May 29, 2002 at 16:23 UTC ( [id://170134]=note: print w/replies, xml ) Need Help??


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/)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://170134]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2024-03-28 16:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found