Reputation: 21
How to find out line of code where application failed in Android? (without debugging just to see crash dump)
Upvotes: 1
Views: 217
Reputation: 1050
When your application stops unexpectedly, you can go to LogCat and see at which point of line your application has problem.
It will be in redline With Tag
CausedBy...Exception then Lineno.
Upvotes: 0
Reputation: 1707
If it's on a customers device the best way is to install a log collecting app on their phone and have them send you the log.
This is like running adb logcat on their device.
Upvotes: 1
Reputation: 86
See http://developer.android.com/guide/developing/tools/adb.html
adb logcat
Upvotes: 4