Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Driving maniacally with the debugger

by talexb (Chancellor)
on Sep 01, 2017 at 17:48 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1198541]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2024-04-19 08:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found