On Tuesday 16 December 2003 00:06, Leo Simons wrote:
> Leo Sutic wrote:
> > I agree - you can use the GC to catch user errors: I once did a
> > stack snapshot (created an Exception) when a component was lookup():ed.
> > When the component was released, I cleared the snapshot. When the
> > component
> > was finalized it would check for the Exception - if found, it would
> > scream at the console / user (in effect):
> >
> >   I HAVE NOT BEEN RELEASED!!!! I was lookuped from:
> >
> >       ... stack trace follows here ...
> >
> > Worked quite nicely.
>
> LOL! I love it! Perhaps we could add a feature like this to
> excalibur-testcase, merlin-testcase, etc :D

I love that too !!!  Just place it under isDebugEnabled() and all set...

Cheers
Niclas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to