Eclipse:在调试透视图中悬停中断

2022-01-22 00:00:00 debugging hover java eclipse

自从升级 Eclipse(Galileo build 20090920-1017)后,在调试中悬停不再显示变量的值.相反,hover 的行为就像我处于正常的 Java 视角一样:

Since upgrading Eclipse (Galileo build 20090920-1017), hover in debug no longer displays a variable's value. Instead, hover behaves as if I were in normal Java perspective:

替代文字 http://michaelzanussi.com/wp-content/uploads/2009/11/debug_hover.png

我尝试过清理项目、重新导入项目等,但均无济于事.我在这里遗漏了什么?

I've tried cleaning the project, re-importing it, etc., all to no avail. Anything I'm missing here?

推荐答案

我去了窗口 - 首选项 - Java - 编辑器 - 悬停,点击恢复默认值"和应用"并为我修复了它,即使实际上没有在设置中更改...

I went to Window - Preferences - Java - Editor - Hovers, hit "Restore Defaults" and "Apply" and that fixed it for me, even though nothing actually changed in the settings...

相关文章