Question

sometimes when i work on android in eclipse the logcat output just seems to output the last line of messages and discards everything before.

this usually happens after 30mins of work but i cant find a concrete way to repro it.

any hints? thanks!

Was it helpful?

Solution

Sometimes your device becomes unselected in DDMS. Next time you have this problem, open the DDMS perspective in Eclipse and re-click your device in the devices window.

That usually does the trick for me.

OTHER TIPS

The eclipse DDMS buffer is unnecessarily small. You can click the clear log button and it will start showing the log again. I'm not sure if there's a way to increase the buffer or not. I always look at the logcat in the terminal. Here's a really good python script that adds color to the output.

http://jsharkey.org/blog/2009/04/22/modifying-the-android-logcat-stream-for-full-color-debugging/

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top