Immediate Window for Eclipse

自闭症网瘾萝莉.ら 提交于 2019-12-20 08:38:34

问题


Does Eclipse have an analog to Visual Studio's "Immediate Window", a window where I can evaluate statements while in the debugger?


回答1:


Eclipse has a really cool concept call Scrapbook Pages where you can evaluate statements even when you're not debugging. However, if you want to eval code using values from the current program, go to Window->Show View->Expressions. There you can put in any expression you want and track it as your program executes.




回答2:


Yes. The view name is "Display".

Window->Show View->Other It is under the Debug folder.

Once in there you evaluate statements while in the debugger.




回答3:


Inspect ctrl-shift-i or Display ctrl-shift-d?



来源:https://stackoverflow.com/questions/1112123/immediate-window-for-eclipse

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