--- Michael G Schwern <[EMAIL PROTECTED]> wrote:

> > Set a flag that T::B should quit when the next test result is
> > about to be recorded?
> 
> I guess it works, but it leaves you dead halfway through another test
> function which is weird.

The code I sent is conceptually similar, but since a failure is always
followed by a diag(), it quits when the next diag() is hit.  So far it
seems to work.

> > Load the debugger and set a breakpoint?
> 
> Oh, good one.  If the debugger wasn't so damned full of bugs that
> might just work as a general solution.

Agreed.  The debugger is too buggy.  Maybe Devel::Ebug?

Cheers,
Ovid

--
Buy the book  - http://www.oreilly.com/catalog/perlhks/
Perl and CGI  - http://users.easystreet.com/ovid/cgi_course/
Personal blog - http://publius-ovidius.livejournal.com/
Tech blog     - http://use.perl.org/~Ovid/journal/

Reply via email to