Alex Rivera | Logout

LogCat Stops Running in Eclipse Needs Restart

Asked 2011-02-16T02:12:06.897
60

Periodically LogCat will stop showing messages even though I am in debug mode. At other times it will display only one line at a time! I have a solution, restart eclipse. But I would like to understand this better. It takes too much time to restart eclipse when this happens. I have seen this behavior on the emulator and connected to a device. Either the LogCat shows one line with no history or nothing.

Edit
Report

2 Answers

16

I solve these LogCat issues in two different ways:

  1. Clearing the log to fix the one line at a time issue
  2. Opening the devices window (Window -> Show View -> Other -> Android -> Devices), and clicking on the device that I want to view the log for. This seems to force Android to refresh LogCat on that device.

These are much easier options than restarting eclipse, or messing with adb.

answered 2011-09-20T20:51:06.363
3

I'd recommend adjusting the Logcat buffer size and enable workspace application message monitoring in your preferences, mine are set as seen below.

eclipse Logcat preferences

answered 2012-08-27T14:13:59.723

Your Answer