Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

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?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2020-02-21 06:13 GMT
Find Nodes?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?

    Results (93 votes). Check out past polls.