Eclipse中Debug时鼠标悬停不能查看变量值的问题
2017-04-11 16:00
801 查看
问题描述:Eclipse在Debug模式下,当鼠标移动到某个变量上面时不自动显示该变量对应的值。
解决方法:在Eclipse中点击 Window->Preferences->Java->Editor->Hovers, 勾选Variable Values,(如果Combined Hover已经选择了,就取消它), 然后点击Apply,最后点OK。
有时不需要勾选Variable Values,只勾选Combined Hover也能查看变量值,所以勾不勾选多试几下,Debug可能就好了。
Hovers主要是来用配置当鼠标移动到工程中的某一项目上时所需要展示的信息。通过Hovers配置实现一些功能的快捷方式。
主要包括以下几个属性的配置:
Combined Hover - Tries the hovers in the sequence listed in above table, excluding this hover, and uses the one which fits best for the selected element and the current context.
Combined Hover:根据当前上下文以及选择的元素 进行自适应匹配展示。
Variable Values - Shows the value of the selected variable when debugging.
Variable Values :Debug模式下展示当前选择变量的内容
Problem Description - Shows the description of the selected problem.
Problem Description:显示当前问题(错误)的描述信息
Externalized String - Shows the externalized string of the selected key.
Externalized String: 显示所选键的形象化字符串。
Javadoc - Shows the Javadoc of the selected element..
Javadoc:显示当前选择元素的文档信息
Annotation Description - Shows the description of the selected annotation.
Annotation Description :显示当前选择声明的描述信息。
Source - Shows the source of the selected element.
Source:显示当前选择元素的源码。
解决方法:在Eclipse中点击 Window->Preferences->Java->Editor->Hovers, 勾选Variable Values,(如果Combined Hover已经选择了,就取消它), 然后点击Apply,最后点OK。
有时不需要勾选Variable Values,只勾选Combined Hover也能查看变量值,所以勾不勾选多试几下,Debug可能就好了。
Hovers主要是来用配置当鼠标移动到工程中的某一项目上时所需要展示的信息。通过Hovers配置实现一些功能的快捷方式。
主要包括以下几个属性的配置:
Combined Hover - Tries the hovers in the sequence listed in above table, excluding this hover, and uses the one which fits best for the selected element and the current context.
Combined Hover:根据当前上下文以及选择的元素 进行自适应匹配展示。
Variable Values - Shows the value of the selected variable when debugging.
Variable Values :Debug模式下展示当前选择变量的内容
Problem Description - Shows the description of the selected problem.
Problem Description:显示当前问题(错误)的描述信息
Externalized String - Shows the externalized string of the selected key.
Externalized String: 显示所选键的形象化字符串。
Javadoc - Shows the Javadoc of the selected element..
Javadoc:显示当前选择元素的文档信息
Annotation Description - Shows the description of the selected annotation.
Annotation Description :显示当前选择声明的描述信息。
Source - Shows the source of the selected element.
Source:显示当前选择元素的源码。
相关文章推荐
- Eclipse中Debug时鼠标悬停不能查看变量值解决办法
- 解决debug到jdk源码时不能查看变量值的问题
- 解决eclipse双击类名、选中类名出现假死或者非常慢的问题(取消Eclipse鼠标悬停和自定义快捷键)
- 解决:eclipse 断点调试进入到class文件,无法查看变量值问题
- Myeclipse在debug时,鼠标移动到变量上无法显示变量值问题
- 解决:eclipse 断点调试进入到class文件,无法查看变量值问题
- eclipse在debug模式下鼠标移动到变量上不显示值的问题
- Eclipse debug模式下使用16进制(Hex)查看变量值
- eclipse在debug模式下鼠标移动到变量上不显示值的问题
- eclipse 中debug启动tomcat不能debug的问题
- eclipse C/C+ CDT中scanf、cin、 printf、cout不能debug输入输出的问题
- 解决使用EclipseDebug进入到JDK源码无法查看运行时变量的问题
- 解决eclipse双击类名、选中类名出现假死或者非常慢的问题(取消Eclipse鼠标悬停和自定义快捷键)
- eclipse 点击查看源码不能查看问题
- Eclipse Ctrl+鼠标左键不能查看源代码
- Eclipse的debug不能运行问题
- Eclipse debug模式下使用16进制(Hex)查看变量值
- ubuntu下eclipse+cdt在debug时鼠标悬停背景颜色修改
- Eclipse中项目不能发布的问题
- 解决eclipse不能编译的问题