How to see static or global variables in Eclipse CDT?

徘徊边缘 提交于 2020-01-12 20:55:09

问题


I have been trying to figure out how to display static variables in the eclipse variable window for the CDT and can't figure out how. The menu button for the CDT doesn't seem to have the java->globals menu. How do I display static/global variables in eclipse CDT debugger?


回答1:


Window -> Show View -> Expressions

You can add any expression there, so also global variables.




回答2:


Arrow down button > Java > Show Constants / Show Static Variables



来源:https://stackoverflow.com/questions/4434107/how-to-see-static-or-global-variables-in-eclipse-cdt

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!