Eclipse debugger won't attach to emulator?

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

Eclipse debugger won't attach to emulator?

Postby ryank » Mon Jan 28, 2008 4:40 am

Hi,
I'm trying to debug my app that is running on the emulator, but the only thing I can get it to say is "Process xxxxx.yyyyy is waiting for the debugger to attach". What am I missing here? I have the default settings for DDMS and below is what I see in logcat.
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1.  
  2. D/jdwp(589): JDWP listening on port 8004
  3.  
  4. I/ActivityThread(589): Loading code package com.remotevision.android.media (in com.remotevision.android.media)
  5.  
  6. W/ActivityThread(589): Application com.remotevision.android.media is waiting for the debugger on port 8100...
Parsed in 0.034 seconds, using GeSHi 1.0.8.4



Thanks for any help you might provide!
User avatar
ryank
Developer
Developer
 
Posts: 43
Joined: Mon Jan 28, 2008 3:23 am

Top

Postby plusminus » Mon Jan 28, 2008 2:43 pm

Hello ryank,

no obvious differences between your and my logcat output, except the port being used:
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. D/jdwp(628): JDWP listening on port 8003
  2. I/ActivityThread(628): Loading code package org.anddev.android.testproject (in org.anddev.android.testproject)
  3. W/ActivityThread(628): Application org.anddev.android.testproject is waiting for the debugger on port 8100...
  4. // Two seconds pass...
  5. I/dalvikvm(628): Debugger is active
Parsed in 0.032 seconds, using GeSHi 1.0.8.4


Found a function in the SDK on :src: this page.
android.os.Debug
static void changeDebugPort(int port)
Change the JDWP port -- this is a temporary measure.


Perhaps try the same port it listens with my emu :?

Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 11 guests