在Eclipse中调试时修改/查看静态变量 [英] Modify/view static variables while debugging in Eclipse
问题描述
在调试视图中,有变量框架。它显示当前对象和所有局部变量的成员变量的所有值,但它不显示对象类的任何静态变量。
如何有些谷歌搜索建议我按工具栏上的按钮,但在显示类型名称逻辑结构之外,变量框架的工具栏上没有任何内容。 和全部折叠(Eclipse 3.4.2)。
任何建议?
在调试变量视图中,它们是视图右侧的箭头按钮。此按钮的工具提示为菜单。
当您点击此按钮时,会显示一个下拉菜单,您可以在其中选择
Java - >显示静态变量
As per the question. In the debug view, there's the Variables frame. It shows all the values of member variables of the current object, and all of the local variables, but it doesn't show any static variables of the object's class.
How do I get to these?
Some googling has suggested I press the button on the toolbar, but there's nothing on the Variables frame's toolbar except "Show Type Names" "Logical Structure" and "Collapse All" (Eclipse 3.4.2).
Any advice?
In the Debug Variables view their is a arrow button in the right of the view. the tooltip of this button is "Menu". When you click this button a drop down menu is shown where you can select
"Java" -> "Show static variables"
这篇关于在Eclipse中调试时修改/查看静态变量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!