Possible Duplicate:
Java / Android - How to print out a full stack trace?
i am working on an android app. Sometimes it stops working and show force close error.
when i view the logcat it shows 4 to 5 lines then says 15 more/ 11 more. i cannot reach to line where that exception occured. Is there any way to increase view full stack trace.
Please Help I am stuck. Thanks.
If i have not explained properly please someone edit the question.
EDIT: Answer to question is
Java / Android - How to print out a full stack trace?
Verbose: Show all log messages (the default). Debug: Show debug log messages that are useful during development only, as well as the message levels lower in this list. Info: Show expected log messages for regular usage, as well as the message levels lower in this list.
After the app has produced some output, in the Logcat window hold down the ALT key, and drag down to select the columns. Use CTRL+C (Windows) to copy to clipboard. Navigate to a spreadsheet (Google Sheets), select a starting cell, and use CTRL+V to paste the columns into the spreadsheet. Save this answer.
Logcat is a command-line tool that dumps a log of system messages, including stack traces when the device throws an error and messages that you have written from your app with the Log class. This page is about the command-line logcat tool, but you can also view log messages from the Logcat window in Android Studio.
Assuming you are using Windows/Eclipse...
Window -> Prefernces -> Android -> LogCat -> Maximum number of logcat messages to buffer
Set it to a value that makes it more usable to you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With