views:

160

answers:

1

Hi,

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?

+4  A: 

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

Bozho
I'm dumb -- I always started the test with "Run as -> Junit test". No wonder I didn't work. Thank you for your help.
Bernhard V