views:

75

answers:

2

The LogCat window is open. Sometimes LogCat displays Log messages, sometimes it does not, with or without the physical target attached. Is there an enable/disable Log somewhere in the debug environment?

+1  A: 

I usually have this problem too. I found that what happens is that the LogCat is clearing the view as fast as the log messages are coming in, so I can't see anything.

What helped me was to change the log level. e.g. if it was at Debug, change to Verbose and then back to Debug. LogCat returns to normal and allows the logs to persist.

That worked for me, but YMMV.

P.S. Also check that your device is actually connected and 'online'. Sometimes, the device can go offline and LogCat can't print anything then.

codinguser
Thanks. I'll try this next time it happens.
JackN
+1  A: 

I also have this problem within Eclipse. If you are lucky enough to not care about what has already been written to LogCat, you can click the "Clear Log" button on the top right next to the V,D,I,W,E buttons.

If you select the device and clear the log, I've found that the output is stable (at least until it fills up again).

Aaron C