Java – call breakpoints do not work in JUnit tests in eclipse

I tried to debug the JUnit test in the eclipse, but my breakpoints did not trigger (unless they were in the first or second rows).

I try to delete and recreate all breakpoints in the workspace, clean up the project, create a new debugging configuration, run test methods separately, and use other methods as part of the test class But it didn't work:-(

Solution

This may happen if you are using sun JDK 6 update 14 See another similar so question here In this case, a possible solution is to use sun JDK 6 update 16

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>