Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: How to attach a perl debugger to a running perl

by berntsmr (Novice)
on Sep 21, 2006 at 19:12 UTC ( [id://574239]=note: print w/replies, xml ) Need Help??


in reply to How to attach a perl debugger to a running perl

I prefer the gui interface provided by perl -d:ptkdb <SCRIPTNAME> You must have the DEVEL/ptkdb.pm module installed for this to work. On the other hand, I've used signals to adjust variables inside a script that control the amount of debug information written out. I gave the ability to "kick" the script through debug levels 1-4 and back to off. That worked quite well and would provide you the opportunity to get specific variable dumps at certain points in your code.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (6)
As of 2024-03-28 13:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found