Why won't IntelliJ IDEA stop in debug mode when an assertion is triggered? I get a java.lang.AssertionError
to console, but the running code doesn't pause at it as it is supposed to. Here are my exception breakpoints settings:
I found out that somehow debugger doesn't stop on assertions when running tests, but it does stop when running other code. The code I was trying to make stop on a failed assertion in debug mode was a test. That seems to be the issue, but I don't understand why would IDE behave that way.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With