Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

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 contemplating the Monastery: (4)
As of 2022-05-28 02:30 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (98 votes). Check out past polls.