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

Re: Driving maniacally with the debugger

by talexb (Canon)
on Sep 01, 2017 at 17:48 UTC ( #1198541=note: print w/replies, xml ) Need Help??


in reply to Driving maniacally with the debugger

I usually pick the line number or sub-routine that I want to stop at, set a break point, then just continue (c) to that point (or to those points).

If you actually do want to step through the code, perhaps pick spots every 10-15 lines to continue to (as in, c 451). I do know r will return from the current context, and I've used that successfully. You already know that n will just take you to the next line, stepping over (and not into) sub-routines. I'm not sure what else to suggest.

Alex / talexb / Toronto

Thanks PJ. We owe you so much. Groklaw -- RIP -- 2003 to 2013.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (9)
As of 2019-06-26 17:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Is there a future for codeless software?



    Results (110 votes). Check out past polls.

    Notices?