Eclipse立即窗口 [英] Immediate Window for Eclipse

查看:326
本文介绍了Eclipse立即窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Eclipse是否具有Visual Studio的立即窗口的模拟,这是一个可以在调试器中评估语句的窗口?

解决方案

Eclipse有一个非常酷的概念调用剪贴簿页面,您可以在其中评估语句,即使您没有调试。但是,如果要使用当前程序中的值来评估代码,请转到窗口 - >显示视图 - >表达式。在那里,您可以放置​​任何您想要的表达式,并在程序执行时跟踪它。


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

解决方案

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.

这篇关于Eclipse立即窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆