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

Re: perl debug

by pemungkah (Priest)
on Jan 23, 2014 at 06:21 UTC ( #1071698=note: print w/replies, xml ) Need Help??

in reply to perl debug

The trick is to return from the INIT routine, which will put you at the first executable line of your test. In the debugger, that's an r commamd. Maybe "step out" in Eclipse?

You should then set any breakpoints you want in the specific test subs then c to continue (or whatever Eclipse's equivalent of "run from here to the next breakpoint" is). Otherwise be prepared to step your way through a lot of code you don't care about until you reach the call that actually executes your code somewhere in the bowels of Test::Class.

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2023-03-24 19:07 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (61 votes). Check out past polls.