CuriousCoder
CuriousCoder

Reputation: 1600

how to view the error stack trace in android?

Can someone tell me clearly from where i can view the android error stack trace? i tried searching , but never found a clear-cut answer

Thanks

Upvotes: 5

Views: 8683

Answers (3)

Phil Lello
Phil Lello

Reputation: 8639

Stack traces are exposed via LogCat, either in an IDE window, or via adb logcat on the command line.

Upvotes: 7

Yahel
Yahel

Reputation: 8550

In eclipse you have the logcat view.

If you can't see it go to : Windows > Show View > Others and in the box look for the Android folder you'll see the LogCat view.

Upvotes: 2

Wroclai
Wroclai

Reputation: 26925

Print your stack trace and check the message in the Logcat (using DDMS) tool.

For more info about debugging, see this article.

Upvotes: 3

Related Questions