Why does Android DDMS show logs for a few hours, but then fail?

1k views Asked by At

I use IntelliJ IDEA to write Android apps, and use the DDMS Windows application to view the Android logs (separate from the IDE). It works fine, but after a seemingly random period of time, the logs vanish, except for one line of log, which gets overwritten with incoming logs. I have to shut it down and restart it, which combined with the delays of deploying an app to a device over ADB to debug and test is pretty tiresome.

Is this a known issue with DDMS? Is there anything I can do to make it work consistently without breaking itself?

Are there any other Android log viewing applications for Windows that work better? I'm not very fond of the IntelliJ IDEA one. My favourite is actually CatLog on Android itself, but on a small-screen device it's not a great experience.

2

There are 2 answers

1
Cameron On BEST ANSWER

It's not about the time, but number of lines being recorded. As Dave C said in the comment, just clear the log and it will be fine

1
f20k On

Have you tried looking at "Why doesn't LogCat show anything in my Android?"? The top voted answer may solve your problem