Why does DDMS sometimes only show one line of logs?

by Anna PS » Thu, 16 Jul 2009 23:53:39 GMT

Sponsored Links
 ... usually happens after a force close. Instead of showing the usual
30 lines or so of logs + scrollable history, it only shows a single
line or a couple of lines. Very annoying!

The only fix that I can find is to restart DDMS.

Anyone have any ideas?


Why does DDMS sometimes only show one line of logs?

by Roman » Fri, 17 Jul 2009 06:09:37 GMT

 I noticed the same after doing testing for a longer time. Normally I
connect and disconnect my test phones and after a certain time the
DDMS shows only one line.

I assume that this is a bug in DDMS. So far the only way to get this
resolved is to restart Eclipse and have the device connected. Then
DDMS is able to pickup correctly the logcat again.

Roman Baumgaertner
Sr. SW Engineer-OSDC
T  Mobile stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.


Sponsored Links

Why does DDMS sometimes only show one line of logs?

by Rud » Fri, 17 Jul 2009 10:01:26 GMT

 You can get the LogCat to start again by doing a clear. Click on the
icon that looks like a page of paper with an X in the corner.



Other Threads

1. Recycling of _ID field in SMS Table

   I've just found out that _ID field is not always unique in SMS table and
gets repeated after some days. Is it normal or some bug ? Can someone tell
what is threshold before _ID field is repeated. Actually i have implementing
a logic thinking that _ID field is always unique in all records i.e SMS,
Call logs, Contacts etc but now discovered that it is not guaranteed to be
always unique in SMS messages. I didn't check for contacts , call logs etc
but it is true for SMS messages.

Suppose a SMS messages had _ID field equal to 1. But after some days that
message is deleted so now 1 is not assigned to any message as id, will the
system assign that id to some new message whenever it wants to ?



2. Making a request over mobile network when WiFi is enabled

This is why Tethering requires rooted phones; you cannot have both radio's
active at once.

The only solution I can think of is to request sufficient permissions for
your app that you can turn WIFI off temporarily, let the 3G boot and use it.

Of course people would lose their WIFI if it's being used.

Makers of PhoneMyPC


3. Arbitrary positioning icon on a View

4. bluetooth connect process

5. Android presentation at Linux Solutions Paris 2010

6. Orange is looking for great Apps

7. Installing daemon with root permissions