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

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

问题描述

我试图在Android应用程序中玩调试,当遇到一个断点时,Eclipse显示了很多窗口,其中之一是交互式控制台,提示:我认为能够进入声明和/或其他东西,但似乎被禁用。
如何处理?

解决方案

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



这将为您提供一个窗口来输入语句并执行/检查它们。
这是核心eclipse平台中可用的功能。它在大多数情况下适用于基于Android的项目。



可以在这里找到更多关于显示视图的信息: http://help.eclipse.org/ helios / index.jsp?topic = / org.eclipse.jdt.doc.user / reference / views / debug / ref-debug_view.htm



For对Eclipse的调试功能的一个很好的概述,看看这篇文章: http://www.cavdar.net/2008/09/13/5-tips-for-debugging-java-code-in-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

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.

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

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天全站免登陆