Friday, March 4, 2011

Re: [android-developers] Use AndroidDebugBridge and ddmlib in my own desktop application

On Mar 4, 2011, at 3:48 AM, Xavier Ducrohet wrote:

> Hmm this is strange. The Eclipse plug-in basically does that. There
> should be no other setup to do.
>
> Do you have the standalone DDMS running?
>
> Xav

You mean the application DDMS?
No, I don't.
Now you said that, *after* failing to attach the debugger, I tried to start ddms application, and then attach the debugger and it WORKS!


Of course, when I left ddms application running and started the procedure from the beginning, I couldn't connect to find the application port and I got this error message:

10:41:31 E/ddms: Could not open Selected VM debug port (8700). Make sure you do not have another instance of DDMS or of the eclipse plugin running. If it's being used by something else, choose a new port number in the preferences.
10:41:31 E/ddms: Can't bind to local 8600 for debugger
10:41:31 E/ddms: Can't bind to local 8601 for debugger
10:41:31 E/ddms: Can't bind to local 8602 for debugger
10:41:31 E/ddms: Can't bind to local 8603 for debugger
10:41:31 E/ddms: Can't bind to local 8604 for debugger
10:41:31 E/ddms: Can't bind to local 8605 for debugger
10:41:31 E/ddms: Can't bind to local 8606 for debugger
10:41:31 E/ddms: Can't bind to local 8607 for debugger
10:41:31 E/ddms: Can't bind to local 8608 for debugger
10:41:31 E/ddms: Can't bind to local 8609 for debugger
10:41:31 E/ddms: Can't bind to local 8610 for debugger
10:41:31 E/ddms: Can't bind to local 8611 for debugger


Is there a way to have the functionality of ddms "on demand" and enable/disable it so that port search will be functional (with ddms "disabled") and later on "enable" it so that I could properly attach the debugger?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment