Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JUnit won't stop at breakpoints in Eclipse (using JDK 1.6.0.20)

my breakpoints in Eclipse won't stop the execution of a JUnit test. It doesn't matter where I set the breakpoint in the JUnit method, it simply won't stop the code from flowing. Placing it in a class called in the JUnit test won't work either.

I am using the JDK in the version of 1.6.0.20, so I guess I'm not affected by the bug in version 1.6.0.14.

Do you know any hints concerning this matter?


1 Answers

You should start your unit-tests with Debug as > JUnit test

like image 128
Bozho Avatar answered Sep 14 '25 10:09

Bozho