简体   繁体   English

Eclipse调试在我的断点处挂起,该行未突出显示

[英]Eclipse Debug Suspended at My Breakpoint and the line is not highlighted

I made two Break points in a java file in Eclipse, when I run the application the Debugger says that it is suspended at the exact line of the break point, but the line doesn't get selected and I can't step to the next line or continue the debugging process, I only got the resume option and when I click it the same happens with the next break point. 我在Eclipse中的一个Java文件中创建了两个断点,当我运行应用程序时,调试器说它在断点的确切行处挂起,但是该行未被选中,因此我无法移至下一个行或继续调试过程,我只得到了resume选项,当我单击它时,下一个断点也会发生同样的情况。

UPDATE : When I put breakpoints somewhere else other than that file it works fine. 更新 :当我在该文件以外的其他地方放置断点时,它工作正常。

Double click the supended method (the one with the pause icon) in the debug view. 在调试视图中双击该暂停的方法(带有暂停图标的方法)。 This will bring you to the breakpoint and step over etc. should work. 这将把您带到断点并跨步等。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM