查找堆栈跟踪在Eclipse与Android [英] Finding Stack Trace in Eclipse with Android

查看:106
本文介绍了查找堆栈跟踪在Eclipse与Android的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不习惯使用Eclipse的Java,主要用的jEdit,但与Android开发随之而来的,Eclipse的。我已经切换到调试窗口和pressed调试按钮,启动我的应用程序,它崩溃,但是我找不到堆栈跟踪。我可以在调试窗格中看到,它已经崩溃了'例外,但是我看不到任何详细信息。不知道如果你能得到它,但我是一个很少使用到Visual Studio和行号,并提供更多的信息说,问题出在哪里。正如我所说的一切我得到的 -

Not used to using Eclipse for java, mainly used jEdit but with the Android dev along comes Eclipse. I've switched to the debug window and pressed the debug button which starts my app, It crashes however I can't find the stack trace. I can see in the 'Debug' pane that it has crashed with a '' exception however I can't see any more information. Not sure if you can get it but I'm a little used to Visual Studio with line numbers and a bit more information saying what went wrong. As I said all I'm getting is -

 'Thread [<1> main](Suspended (exception RuntimeException))'

在调试窗口。任何人都可以提供一些线索,以在哪里可以找到更多信息?

in the debug window. Can anyone shed some light as to where I can find more information?

推荐答案

有关在Eclipse中正常的Java开发,堆栈跟踪将出现在控制台视图:

For normal Java development in Eclipse, stack traces will appear in console view:

Window -> Show view -> Console

(如果它没有列出,点击其他,找到控制台)。

(if it isn't listed, click on "Other" and find "Console").

在与Android的开发处理,找到LogCat中看法,就像我上面描述。堆栈跟踪应该在那里。

When dealing with Android development, find the "LogCat" view, like I described above. The stack trace should be there.

这篇关于查找堆栈跟踪在Eclipse与Android的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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