如何使用Eclipse的交互控制台调试 [英] How to use Eclipse interactive console in debug

查看:853
本文介绍了如何使用Eclipse的交互控制台调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想与调试的Andr​​oid应用程序,并遇到断点时播放,Eclipse中显示了我很多的窗口,其中之一是交互式控制台并提示:我觉得能够进入陈述和/或其他的东西,但它似乎被禁用。 我该如何使用它?

I'm trying to play with debug in Android app and, when a breakpoint is encountered, Eclipse shows me a lot of windows, one of which is the "Interactive Console" with a prompt: I think to be able to enter statements and/or other stuff, but it seems to be disabled. How can I work with it?

推荐答案

窗口 - 显示视图 - 调试 - 显示

Window - Show View - Debug - Display

这将为您提供一个窗口,输入语句和执行/对其进行检查。 这是一个功能,就是在核心Eclipse平台上可用。它的工作原理,在大多数情况下,为基于Android的项目也是如此。

That will provide you with a window to enter statements and execute/inspect them. This is a feature that's available in core eclipse platform. It works in most cases for Android based projects as well.

在显示视图更多信息可以在这里找到:<一href="http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/views/debug/ref-debug_view.htm" rel="nofollow">http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/views/debug/ref-debug_view.htm

More info on the display view can be found here : http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.jdt.doc.user/reference/views/debug/ref-debug_view.htm

有关的Eclipse中的调试功能一个很好的概述,看看这个帖子:的 http://www.cavdar.net/2008/09/13/5-tips-for-debugging-java-$c$c-in-eclipse /

For a nice overview of the debugging features of Eclipse, check out this post : http://www.cavdar.net/2008/09/13/5-tips-for-debugging-java-code-in-eclipse/

这篇关于如何使用Eclipse的交互控制台调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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