Eclipse:“显示视图”中的图标都是灰色的 [英] Eclipse: The icons in "Display View" are all greyed out

查看:1855
本文介绍了Eclipse:“显示视图”中的图标都是灰色的的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这里的讨论描述了eclipse中的显示视图,可以快速评估java表达式。事情是,当我打开显示视图时,图标保持灰色,我无法执行任何操作。唯一不是的图标是清除控制台。奇怪的是,网络上的大量屏幕截图显示出相同的行为,但是发布有关该功能的人没有提及它。在上下文敏感菜单中也没有任何选项。我正在一个java项目中尝试。我在调试视图中尝试过,我遇到了同样的问题。

The discussion here describes the "display view" in eclipse which allows one to to quickly evaluate java expressions. The thing is, when I open the display view the icons remain greyed out and I can't execute anything. The only icon that isn't is "clear console". The odd thing is, alot of the screenshots on the web show the same behaviour but the people posting about the feature don't mentioned it. There aren't any options in the context sensitive menu either. I'm trying it on a java project. I've tried it in the debug view and I get the same issue.

一旦我的主机被排序,我将提供一个截图。

I'll provide a screenshot once my hosting is sorted.

我使用eclipse 3.4。

I'm using eclipse 3.4.

推荐答案

为了能够使用它,你是应该处于调试模式(设置一个断点来冻结执行)。这给你一个上下文,一个堆栈框架工作。

To be able to use it, you're supposed to be in debug mode (set a breakpoint to freeze execution). That gives you a context, a stack frame to work in.

一旦你在那里,你在显示视图中选择表达式,只有那么您可以执行它们,评估等。如果视图中没有选择任何文本,则不会有任何操作可用。

Once you're there, you select expressions in the display view and only then can you execute them, evaluate etc. If no text in the view is selected, none of the actions will be available.

这篇关于Eclipse:“显示视图”中的图标都是灰色的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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