I am running the Eclipse ADT plugin. Wandering into even blacker magic, two points come up,
If the process I want to debug was started because it's a remote service of the application I did start via Eclipse how do I attach the Eclipse/ ADT debugger to it? Eclipse certainly does not see the process. It does work. I was seeing the "2nd debugger failed" message, that's what got me to think of shutting down Eclipse and starting DDMS first. I did -not- update my ADT (because the web page said not to) when I rolled to SDK 1.1R1, maybe I should have? functional but puzzled, mike On Mar 6, 5:23 pm, Xavier Ducrohet <x...@android.com> wrote: > If you have installed ADT then you should not be running the > standalone version of DDMS. > > ADT actually is set of 2 plug-ins: DDMS and ADT. > > When DDMS is running, it constantly monitors emulators that are > running, or devices that are connected through USB. As soon as a new > device/emulator is connected, it actually connects to each application > running on the device/emulator as a debugger. The applications can > only accept connection from one debugger, so the 2nd instance of DDMS > fails to work (it sees the applications but fails to connect to them) > > (Regular Java debuggers actually connect to DDMS which then forwards > the packets to the application back and forth.) > > Xav > > > > > > On Fri, Mar 6, 2009 at 5:18 PM, Mike Collins <mike.d.coll...@gmail.com> wrote: > > > There seems to be some magical connection between Eclipse and DDMS, > > after shutting down Eclipse and restarting DDMS and then restarting > > Eclispe it now seems to work about like I would have expected. > > > It does not seem like you have to start DDMS before > > Eclipse...something > > is loose down there... > > > mike > > > On Mar 6, 11:13 am, Mike Collins <mike.d.coll...@gmail.com> wrote: > >> We are using V1.1R1, does the V1.0R2 work better? > > >> That seems to do a bit better, the Eclipse debugger now shows a few > >> of the threads in the process. I still can't seem to set any > >> breakpoints > >> in the process and DDMS is still showing me nothing interesting. > > >> That's a pain, > >> mike > > >> On Mar 6, 11:00 am, Videoguy <puri_mall...@yahoo.com> wrote: > > >> > I saw this issue with cupcake release when I was trying to attach to > >> > one of the apps. Some times DDMS worked, sometimes it didn't. I > >> > remember I was able to attach when I used the other port for that > >> > process (i.e 86XX instead of 8700). > > >> > Why don't you try that? > > >> > Videoguy- Hide quoted text - > > >> - Show quoted text - > > -- > Xavier Ducrohet > Android Engineer, Google.- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---