Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Driving maniacally with the debugger

by zakame (Pilgrim)
on Sep 03, 2017 at 03:25 UTC ( #1198600=note: print w/replies, xml ) Need Help??


in reply to Driving maniacally with the debugger

My question is this: is there some way (other than driving slowly so that I can use the n judiciously) to step through code in the debugger, digging down into subroutines if needed, without fear of accidentally stepping into some use'd module? (And no, I cannot use any outside tools. Just Perl and what comes with it.)

You can probably still use DB::Skip (or just crib its code to somewhere that your ~/.perldb can find,) as it doesn't depend on anything else at all except core Perl. I've also shared a bit in Re: Debugging objects as well, feel free to crib what you need.

For a bit of visualizing, I also use ddd to help me find where I am during the step-throughs.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (4)
As of 2019-05-20 10:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you enjoy 3D movies?



    Results (127 votes). Check out past polls.

    Notices?