Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: How to debug unknown dynamic code?

by chipmunk (Parson)
on Dec 27, 2000 at 23:56 UTC ( [id://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?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://48516]
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: (5)
As of 2024-04-24 09:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found