views:

654

answers:

5

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.

A: 

I don't think it's possible. You could just move the Logcat to another place. e.g. In the bottom of Eclipse. Just drag&drop it by grabing its tab.

MrBuBBLs
I know how to move views in Eclipse. What I want is clickable stacktraces.
Shooshpanchick
A: 

Instead Logcat, try ddms. It puts the log messages differentiated based on their type and you'll have much more control over log message filtering in ddms.

This binary is located in the same place where logcat is located. So no worries.... instead of typing out logcat, type ddms in console.

Vishwanath
Is there any difference between log in DDMS and LogCat view in Eclipse? Anyway, I want an Eclipse solution so I can have clickable stacktraces.
Shooshpanchick
+1  A: 

I was also having the same issue. I tried ddms instead of logcat, it doesn't put up in Eclipse but it solves my problem. It displays the logs in different colors so that i can view and differentiate them easily.... Thanks....

I will +1 this if you can add an example of how to use ddms.
DJTripleThreat
A: 

You might want to use the LOGBACK plugin ;-)

http://logback.qos.ch/consolePlugin.html

GOOD LUCK!!

CVS-2600Hertz
How to stream LogCat to this plugin's console?
Shooshpanchick
+1  A: 

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

JRL
How can this help me with my problem?
Shooshpanchick
@Shooshpanchick: sorry, I originally misread the question - I've edited my answer now.
JRL
Thank you, this is the best answer at the moment :)
Shooshpanchick