网上搜索了一下,方法集中在两种:
1. Window->Preferences->Java->Editor->Hovers 将[Variable Values]选择即可,如果[Combined Hover]已经勾选,取消并勾选[Variable Values]
2. 右击工程->properties->Java Compiler->选中 "add variable attributes to generated class (used by the debugger)” 选项即可
本文介绍了在Eclipse中设置变量值显示的方法:一是在Preferences中进行设置;二是通过工程属性中的Java Compiler选项来实现。
网上搜索了一下,方法集中在两种:
1. Window->Preferences->Java->Editor->Hovers 将[Variable Values]选择即可,如果[Combined Hover]已经勾选,取消并勾选[Variable Values]
2. 右击工程->properties->Java Compiler->选中 "add variable attributes to generated class (used by the debugger)” 选项即可
7088
963

被折叠的 条评论
为什么被折叠?