You are hereUsing Java Assertions? Use an Assertion-failed Breakpoint!

Using Java Assertions? Use an Assertion-failed Breakpoint!


By www - Posted on 07 May 2009

I'm a big fan of assertions.
I use them very often in my code as safeguards. I was very pleased when
true, native assertions were introduced to Java: they allow adding more
tests while keeping the code running faster when disabled. 

James Sugrue