Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse LogCat - Not Working

This is the most frustrating thing ever, LogCat keeps deactivating/disconnecting. After running eclipse, LogCat logs for first run and after that, it goes Blank. I have to restart Eclipse to get it running again, and then same thing happens again. What is matter with it? It used to work fine. I can't recall changes I've made to undo what I (might) have done.

EDIT - Screen of Eclipse as requested.

enter image description here

EDIT 2 - Screen of currently installed SDK packages

enter image description here

like image 592
KickAss Avatar asked Dec 29 '13 17:12

KickAss


People also ask

How do I view Logcat in eclipse?

In Eclipse, Goto Window-> Show View -> Other -> Android-> Logcat. Logcat is nothing but a console of your Emulator or Device.

How do I restart Logcat?

You need to press Alt + 6 twice to restart the Logcat. Restarting logcat often helps when it becomes irresponsive.

How do I read a Logcat file?

To display the log messages for an app: Build and run your app on a device. Click View > Tool Windows > Logcat (or click Logcat in the tool window bar).

What is Logcat?

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.


2 Answers

I believe this other post with the same problem will answer this:

https://stackoverflow.com/a/11967853/241014

Essentially, set the log's buffer to a higher value by going in Eclipse to Window > Preferences > Android > LogCat. Set the "Maximum number of logcat messages to buffer" to something higher than the default of 5,000.

enter image description here

like image 175
Peter Avatar answered Sep 27 '22 17:09

Peter


For Eclipse only when LogCat isn't working:

1 - Open Perspective "DDMS".
2 - On the left side, click on the device you want to monitor.
3 - Change Perspective back to "JAVA".

like image 28
Pedro Lobito Avatar answered Sep 27 '22 18:09

Pedro Lobito