开发者

Eclipse Indigo Not Hitting Breakpoint

开发者 https://www.devze.com 2023-04-03 17:13 出处:网络
I am using Eclipse 开发者_StackOverflowIndigo (3.7.0), with JDK 1.6.0_22, and I am running into an issue.

I am using Eclipse 开发者_StackOverflowIndigo (3.7.0), with JDK 1.6.0_22, and I am running into an issue.

Eclipse Indigo Not Hitting Breakpoint

In the screenshot above, I set two breakpoints, but then only the breakpoint at line 281 is hitting, not the one at line 274. I tried cleaning my project via Project->Clean, adding -clean to the eclipse.ini file in the Eclipse install directory, restarting my computer, and restarting Eclipse, but they all didn't work. I am running Windows XP Pro SP3.

Any ideas? Thanks!


I fixed the problem. The project I'm working on requires the Scala IDE plugin for Eclipse as I just found out that there are some Scala code that I didn't write. The Scala compiler was needed to work in conjunction with the Java compiler, so in the end, the Java code that I was working on wasn't compiling into new bytecode, which is the reason why the breakpoints were not being hit. It's just one of those very rare things that happen.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号