Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Logcat is broken every time phone is unplugged
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Keith Wiley  
View profile   Translate to Translated (View Original)
 More options Jan 14 2012, 3:24 pm
From: Keith Wiley <kbwi...@gmail.com>
Date: Sat, 14 Jan 2012 12:24:02 -0800 (PST)
Local: Sat, Jan 14 2012 3:24 pm
Subject: Logcat is broken every time phone is unplugged
Every time the phone is unplugged from USB, the logcat is permanently
corrupted in that the when the phone is reconnected, logcat does not
reestablish.  Restarting an app, either in debug or run mode produces
zero logcat output after that point.  Closing the logcat window view
and reopening it has no effect.  The only solution is to quit and
restart Eclipse.  Therefore, I must quit and restart Eclipse every
time I take my phone with me and then later return.

I've been having this problem since day one with Android development,
three years ago.  In that time I have installed new versions of
Eclipse and numerous updates to the Android SDK and Eclipse plugin.
Nothing has ever improved the situation w.r.t. this bug.

Anyone know anything about this?

Thanks.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Murphy  
View profile  
 More options Jan 14 2012, 3:27 pm
From: Mark Murphy <mmur...@commonsware.com>
Date: Sat, 14 Jan 2012 15:27:14 -0500
Local: Sat, Jan 14 2012 3:27 pm
Subject: Re: [android-developers] Logcat is broken every time phone is unplugged
I haven't seen that on any of my devices. What's the phone?

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in NYC: http://marakana.com/training/android/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Keith Wiley  
View profile  
 More options Jan 14 2012, 3:35 pm
From: Keith Wiley <kbwi...@gmail.com>
Date: Sat, 14 Jan 2012 12:35:57 -0800 (PST)
Local: Sat, Jan 14 2012 3:35 pm
Subject: Re: Logcat is broken every time phone is unplugged
G1, OS 1.6
Eclipse Helious
I'm part way through installing Android SDK rev 16, but like I said,
this has been persistent across a variety of versions of all the
associated pieces.

I don't understand why I haven't seen more reports of this.

Thanks for any help.

On Jan 14, 12:27 pm, Mark Murphy <mmur...@commonsware.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Murphy  
View profile  
 More options Jan 14 2012, 3:47 pm
From: Mark Murphy <mmur...@commonsware.com>
Date: Sat, 14 Jan 2012 15:47:20 -0500
Local: Sat, Jan 14 2012 3:47 pm
Subject: Re: [android-developers] Re: Logcat is broken every time phone is unplugged

On Sat, Jan 14, 2012 at 3:35 PM, Keith Wiley <kbwi...@gmail.com> wrote:
> G1, OS 1.6
> Eclipse Helious
> I'm part way through installing Android SDK rev 16, but like I said,
> this has been persistent across a variety of versions of all the
> associated pieces.

> I don't understand why I haven't seen more reports of this.

I just dusted off my G1 and I cannot reproduce your problem. When I
unplug and re-plug in the G1, LogCat shows all the old entries, plus
any new ones from whatever app I run.

Perhaps try a different micro USB cable.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in NYC: http://marakana.com/training/android/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Keith Wiley  
View profile  
 More options Jan 14 2012, 5:57 pm
From: Keith Wiley <kbwi...@gmail.com>
Date: Sat, 14 Jan 2012 14:57:30 -0800 (PST)
Local: Sat, Jan 14 2012 5:57 pm
Subject: Re: Logcat is broken every time phone is unplugged
Hmmm, okay.  I don't have one that fits the G1's connecter, but I'll
consider the suggestion.

Sigh.

On Jan 14, 12:47 pm, Mark Murphy <mmur...@commonsware.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Carter  
View profile  
 More options Jan 15 2012, 5:50 am
From: Mark Carter <mjc1...@googlemail.com>
Date: Sun, 15 Jan 2012 02:50:01 -0800 (PST)
Local: Sun, Jan 15 2012 5:50 am
Subject: Re: Logcat is broken every time phone is unplugged

Eclipse Indigo SR1, Windows 7 Home Premium 64bit.

When I reconnect, I always have to reclick on the device in the Devices
view (of the DDMS perspective).

However, in the latest version of ADT, I have a similar problem, where
clearing the log output results in subsequent log messages not appearing at
all. I need to click around a bit (on other filters) to get it to kick back
in again.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
sell.bergstr  
View profile  
 More options Jan 15 2012, 6:04 am
From: "sell.bergstr" <sell.bergst...@googlemail.com>
Date: Sun, 15 Jan 2012 03:04:46 -0800 (PST)
Local: Sun, Jan 15 2012 6:04 am
Subject: Re: Logcat is broken every time phone is unplugged
same here

On 15 Jan., 11:50, Mark Carter <mjc1...@googlemail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Keith Wiley  
View profile  
 More options Jan 24 2012, 9:29 pm
From: Keith Wiley <kbwi...@gmail.com>
Date: Tue, 24 Jan 2012 18:29:13 -0800 (PST)
Local: Tues, Jan 24 2012 9:29 pm
Subject: Re: Logcat is broken every time phone is unplugged
The following appears in the Console window when I plug the usb cable
into the phone.  Any ideas?

[2012-01-24 18:27:21 - Unexpected error while launching logcat. Try
reselecting the device.] device not found
com.android.ddmlib.AdbCommandRejectedException: device not found
        at com.android.ddmlib.AdbHelper.setDevice(AdbHelper.java:736)
        at com.android.ddmlib.AdbHelper.executeRemoteCommand(AdbHelper.java:
373)
        at com.android.ddmlib.Device.executeShellCommand(Device.java:372)
        at com.android.ddmuilib.logcat.LogCatReceiver
$1.run(LogCatReceiver.java:100)
        at java.lang.Thread.run(Thread.java:680)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Indicator Veritatis  
View profile  
 More options Jan 27 2012, 7:47 pm
From: Indicator Veritatis <mej1...@yahoo.com>
Date: Fri, 27 Jan 2012 16:47:53 -0800 (PST)
Local: Fri, Jan 27 2012 7:47 pm
Subject: Re: Logcat is broken every time phone is unplugged
Although I dont' remember encountering exaclty the same problem, the
unreliability of logcat display from inside Eclipse is the reason I
long ago got into the habit of runnig logcat in a Terminal window (I
run Eclipse under Linux, not Windows) instead. But even then, when I
disconnect the USB cable for the phone, I find that often I have to
restart adb. But this is a lot less drastic than restarting Eclipse.

So that is what I suggest you try: stop and restart the server using
the adb command from a terminal window (or a command shell) when you
see that problem. It is a lot faster than restarting Eclipse.

On Jan 14, 12:24 pm, Keith Wiley <kbwi...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »