ddmlib has opened that port locally. Are you trying to connect to localhost?
On Thu, Mar 3, 2011 at 4:32 PM, Panayotis Katsaloulis <[email protected]> wrote: > > On Mar 3, 2011, at 10:15 PM, Xavier Ducrohet wrote: > >> oh wait I just realize you init ddmlib with init(false). >> >> the boolean is "client support", set it to true (and then the 1 >> ddmlib-enabled app restriction will be important). > > Wow, you are right! > By changing to "true", then I can properly see the clients! > I didn't know I had to use "true" there and there is so little documentation > actually. > > > > I have another problem now. > > I am using > client.getDebuggerListenPort() > to get the actual debug port, so that I can directly attach Netbeans debugger. > The debug port I get is (usually) 8610. > When I try to attach java debugger though, I get an > java.net.ConnectException: Connection refused error > I checked (with telnet) if this port is open, and it isn't. > > I even tried something like > adb forward tcp:8000 tcp:8610 > if I needed to forward the android port to a local port (and then tried to > connect the debugger to the 8000), but with no luck. > > Any help? (we are almost there!) > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en > -- Xavier Ducrohet Android SDK Tech Lead Google Inc. http://developer.android.com | http://tools.android.com Please do not send me questions directly. Thanks! -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

