Eclipse - debugger doesn't stop at breakpoint

Roy picture Roy · Sep 3, 2009 · Viewed 185.2k times · Source

I am trying to trouble shoot a JUnit. In the source code, I have set break point in two places: 1) in a line where a static member is initialized 2) the first line of one of the test cases.

The debugger stops in the static field initializing line. But it doesn't stop in the test case. No matter where I set the break point in the test case, the debugger doesn't stop there. I know for sure that the test case is executed as I can see the log messages that I have added appear in the log.

Any help would be greatly appreciated.

I am using Eclipse Galileo and JUnit4 launcher.

Answer

user1164035 picture user1164035 · Apr 16, 2012

Fix could be as simple as clicking run/skip all breakpoints. Worked for me.