Eclipse:如何在“表达式"窗口中找到变量的类型? [英] Eclipse: How to find the type of the variable in Expressions window?

查看:45
本文介绍了Eclipse:如何在“表达式"窗口中找到变量的类型?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Eclipse包含一个名为表达式"的窗口,该窗口允许显示表达式/变量的内容.我的问题是我看不到类型/类表达式"窗口.

Eclipse includes a window named "Expressions" that allows showing the content of expressions/variables. My problem is that I can't see the Type/Class expressions window.

您知道如何使用表达式"窗口查看表达式结果的类型吗?

Do you know how I can use the Expressions window to see the type of the result of the expressions?

推荐答案

表达式视图的视图菜单中,选择 布局>选择列... 并检查 声明的类型 或/和 实际类型 :

In the view menu of the Expressions view select Layout > Select Columns... and check Declared Type or/and Actual Type:

这篇关于Eclipse:如何在“表达式"窗口中找到变量的类型?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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