Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Doesn't just plain "b Test::Builder->new->current_test >= 85" work?
    • You can type that if you want, but I'd much rather type 'b #87'.

      Yeah, it's not as generic as what you've written, but at the end of the day, I want a lot more people playing with the debugger so they can, er, debugger it.

      • Also, no - it doesn't work. You need a line number or subroutine name before the condidtion.

        You can use:

          w Test::Builder->new->current_test >= 87

        which is nearly the right thing - but that halts inside Test::Builder - so then you have to hit r a few times to get back to the debuggee.

        So it's sugar, it gets you to the right place simply, and in my case - because I have the debugger set up to take my editor to whatever file / line it stops on - it stops a lot of spurious windows containing the source of Test::Builder and whatever is layered between Test::Builder and the debuggee from opening.