Eclipse doesn't stop at breakpoints

前端 未结 30 2358
忘了有多久
忘了有多久 2020-12-13 08:13

Eclipse 3.5.2 is not stopping in breakpoints. It\'s as if the debugger is using an older version of the source file.

Tried the usual refresh, clean all projects, bui

30条回答
  •  心在旅途
    2020-12-13 08:35

    Breakpoints have seemed to work and not-work on the versions of Eclipse I've used the last couple years. Currently I'm using Juno and just experienced breakpoints-not-working again. The solutions above, although good ones, didn't work in my case.

    Here's what worked in my case:

    1. deleted the project

    2. check it back out from svn

    3. import it into Eclipse again

    4. run "mvn eclipse:eclipse"

    Since the project is also a Groovy/Http-bulder/junit-test project, I had to:

    1. convert the project from Java to Groovy

    2. add /src/test/groovy to the Java Build Path (Source folders on build path)

    3. include "**/*.groovy" on the Java Build Path for /src/test/groovy

提交回复
热议问题