eclipse在断点停止,但没有调试功能可用 [英] eclipse stops at breakpoint, but no debug features available

查看:205
本文介绍了eclipse在断点停止,但没有调试功能可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

另一个日食断点问题,我认为这是截然不同的。如果不是这样,请指出正确的问题。



我在调试视角中运行eclipse开普勒。我可以设置断点,并且eclipse 停止。但是,绝对没有调试透视图的功能可用。代码已经停止了。我知道这是这样,当我删除断点,代码恢复其处理。



更多细节 - 在断点线上没有绿色条纹,没有步骤超出/退出,无暂停/恢复/甚至停止按钮可用。只有控制台选项卡上的红色框可用。



Eclipse只是暂停执行,不通知您,也不允许您恢复。

解决方案

正如我在输入这个问题一样,对我来说,我已经修复了几次。



如果您导航到窗口 - >显示视图 - >调试



将显示一个调试选项卡,显示当前线程。看来,eclipse不会使用step / step out / pause / resume / stop的功能,显示您被断点的绿色条带,或者使用display tab查看不同的变量值。



我认为这是非常令人困惑的,因为eclipse不会给你任何线索或提示打开调试选项卡。



我完成了打字,希望有人可能会绊倒它,这可能会帮助他们。还有下一次我有这个问题,忘记了我做了什么。


Yet another eclipse breakpoints question, I would argue this is different and undiscussed as of now. If that's not the case, point me to the right question.

I'm running eclipse kepler in the debug perspective. I can set breakpoints and eclipse does stop at them. However, absolutely no functionality of the debug perspective is made available. The code has simply stopped. I know this is the case as when I remove the breakpoint, the code resumes its processing.

More details - no green stripe on the breakpointed line, no step in/step over/step out, no pause/resume/ or even stop buttons are available. Only the red box on the Console tab are available.

Eclipse simply pauses execution and does not inform you, nor allows you to resume either.

解决方案

As I was typing this question, it occurred to me that I had fixed this a couple times before.

If you navigate to Window -> Show View -> Debug

A debug tab will be displayed, showing the current threads. It appears that eclipse will not avail the functions of step in/step over/step out/pause/resume/stop, showing a green stripe of where you are breakpointed, or using the display tab to look at different variable values.

I think this is quite confusing as eclipse does not give you any clue or hint to open that debug tab.

I finished typing this out in hopes that someone else may stumble upon it, and it may help them. Also for the next time I have this problem and forget what I did.

这篇关于eclipse在断点停止,但没有调试功能可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆