Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Re: How to debug unknown dynamic code?

by chipmunk (Parson)
on Dec 27, 2000 at 23:56 UTC ( #48516=note: print w/replies, xml ) Need Help??

in reply to How to debug unknown dynamic code?

If you're not able to check out the code to add print statements, how will you fix any bugs that you find?

Otherwise I was going to suggest that, at the points in the module where you want the debugger to break, you add the line: $DB::single = 1
(That's like hitting 's' in the debugger right at that line.)

This might help with setting breakpoints in the module: you can change which file you're looking at/setting breakpoints in/etc. by using the debugger's 'f' command.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2016-10-22 20:25 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (297 votes). Check out past polls.