Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

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.

Comment on Re: How to debug unknown dynamic code?
Download Code

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 chilling in the Monastery: (11)
As of 2015-11-25 12:47 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (674 votes), past polls