Finding Stack Trace in Eclipse with Android

前端 未结 4 1163
野趣味
野趣味 2021-01-12 17:56

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 sta

相关标签:
4条回答
  • 2021-01-12 18:07

    Check out the DDMS perspective and LogCat view. Android logs everything, what can be viewed with LogCat.

    0 讨论(0)
  • 2021-01-12 18:11

    You should read this guide: Debugging Android using Eclipse and ADT

    0 讨论(0)
  • 2021-01-12 18:14

    You can directly type the adb logcat at the command prompt, it will display the stack traces.

    For more info, refer this page: http://developer.android.com/guide/developing/tools/adb.html#logcat

    0 讨论(0)
  • 2021-01-12 18:28

    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").

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

    0 讨论(0)
提交回复
热议问题