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.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments