Android: How to read the entire stacktrace from LogCat (including the ..X more errors)?

假如想象 提交于 2019-12-13 16:06:33

问题


I have an error on my Android Application and one of the really annoying things that LogCat does is write

exception Caused at android.

at android...

at android...

at android...

and 21 more

I need to read the error inside that 21 more. Is there a way to do it? I've tried filtering the results but no luck.


回答1:


You can debug the app and add a conditional breakpoint for your exception, or just a normal breakpoint if you know where it's thrown exactly. Then when you're there, you have full access to the stack trace and, even better, to the context variables when the exception occured.



来源:https://stackoverflow.com/questions/9001658/android-how-to-read-the-entire-stacktrace-from-logcat-including-the-x-more-e

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