Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to output LogCat to Console?

Is there a way to make LogCat's output to appear in Console view in Eclipse?

LogCat view is much less convenient that Console, because it's hard to see long messages in it (they are trimmed by column border) and there are no clickable highlighting in exception stack traces to quickly navigate to source of error.

Just to make clear - I'd like to have clickable stacktraces, like the ones in normal Eclipse console so I can quickly navigate to the source of error.

like image 932
Fixpoint Avatar asked Apr 03 '10 15:04

Fixpoint


People also ask

How do I export from Logcat?

adb logcat –d > filename.txt This command will extract the logcat information from the connected device and redirects the output to a file on the PC. The option –d will take care that the output will stop when all output is flushed.

How do you write save a log into a file adb?

With a computer Type adb logcat -d > logcat. txt . This will save the log to logcat. txt .


1 Answers

Requires an extra step, but you can copy and paste into the Console Stack Trace View, and you then get the clickable links. Just select any or all lines from Logcat, copy, and paste them in the Console (select Java Stack Trace in the Console Display button first).

like image 74
JRL Avatar answered Sep 20 '22 03:09

JRL