IntelliJ IDEA won't stop on assertions in debug mode

gvlasov

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:

http://i.imgur.com/kiMwLfb.png

gvlasov

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.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Stop debug mode in IntelliJ IDEA when using Gradle

From Dev

IntelliJ IDEA 13.0 constant debug mode for app?

From Dev

IntelliJ IDEA 13.0 constant debug mode for app?

From Dev

Gradle daemon not reused when running in debug mode (in IntelliJ IDEA)

From Dev

android map v2 won't show in debug mode

From Dev

android map v2 won't show in debug mode

From Dev

IntelliJ IDEA Won't Load - Stuck on Splash Screen

From Dev

Intellij idea won't recognize import of local class in python 3

From Dev

IntelliJ IDEA won't run PHPUnit 4.0 tests

From Dev

Why WildFly throws an Exception in Intellij IDEA's debug mode while the run mode works perfectly well?

From Dev

Why WildFly throws an Exception in Intellij IDEA's debug mode while the run mode works perfectly well?

From Dev

Eclipse doesn't stop in break points in debug mode

From Dev

Can't run and debug groovy tests under intellij idea

From Dev

Can't stop at exception in IntelliJ IDEA while writing Kotlin code

From Dev

"intellij idea" debug static class

From Dev

"intellij idea" debug static class

From Dev

How to run Play Framework 2.x in debug mode in IntelliJ IDEA?

From Dev

How to run Play Framework 2.x in debug mode in IntelliJ IDEA?

From Dev

How do I debug an error on Heroku that won't show up in dev or production mode locally?

From Dev

IntelliJ IDEA reporting unresolved variable TypeScript errors, but won't allow ':any'

From Dev

Why won't IntelliJ IDEA create a JAR artifact without a class with Main() method?

From Dev

IntelliJ IDEA Won't let me choose Font. Also kerning Unbearable. Are these related?

From Dev

mysql server won't stop

From Java

PostgreSQL server won't stop

From Dev

mongodb balancer won't stop

From Dev

Regex won't stop matching

From Dev

Function won't stop running

From Dev

Grub won't stop loading

From Dev

Dovecot won't stop running

Related Related

  1. 1

    Stop debug mode in IntelliJ IDEA when using Gradle

  2. 2

    IntelliJ IDEA 13.0 constant debug mode for app?

  3. 3

    IntelliJ IDEA 13.0 constant debug mode for app?

  4. 4

    Gradle daemon not reused when running in debug mode (in IntelliJ IDEA)

  5. 5

    android map v2 won't show in debug mode

  6. 6

    android map v2 won't show in debug mode

  7. 7

    IntelliJ IDEA Won't Load - Stuck on Splash Screen

  8. 8

    Intellij idea won't recognize import of local class in python 3

  9. 9

    IntelliJ IDEA won't run PHPUnit 4.0 tests

  10. 10

    Why WildFly throws an Exception in Intellij IDEA's debug mode while the run mode works perfectly well?

  11. 11

    Why WildFly throws an Exception in Intellij IDEA's debug mode while the run mode works perfectly well?

  12. 12

    Eclipse doesn't stop in break points in debug mode

  13. 13

    Can't run and debug groovy tests under intellij idea

  14. 14

    Can't stop at exception in IntelliJ IDEA while writing Kotlin code

  15. 15

    "intellij idea" debug static class

  16. 16

    "intellij idea" debug static class

  17. 17

    How to run Play Framework 2.x in debug mode in IntelliJ IDEA?

  18. 18

    How to run Play Framework 2.x in debug mode in IntelliJ IDEA?

  19. 19

    How do I debug an error on Heroku that won't show up in dev or production mode locally?

  20. 20

    IntelliJ IDEA reporting unresolved variable TypeScript errors, but won't allow ':any'

  21. 21

    Why won't IntelliJ IDEA create a JAR artifact without a class with Main() method?

  22. 22

    IntelliJ IDEA Won't let me choose Font. Also kerning Unbearable. Are these related?

  23. 23

    mysql server won't stop

  24. 24

    PostgreSQL server won't stop

  25. 25

    mongodb balancer won't stop

  26. 26

    Regex won't stop matching

  27. 27

    Function won't stop running

  28. 28

    Grub won't stop loading

  29. 29

    Dovecot won't stop running

HotTag

Archive