Got it, thanks. Reason I asked is that sometimes it seems the debugger
just fails to attach(yes, I am using eclipse), but I Haven't found the
reason for that yet.

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Xavier Ducrohet
Sent: Tuesday, May 20, 2008 12:57 AM
To: [email protected]
Subject: [android-beginners] Re: debug port


The 8100 port is on the emulator and is not directly accessible.

The ports starting at 8600 are setup by ddms.
There is one port setup for each running application. Connecting a
debugger to this port actually connects to ddms, which then forward
packets between the debugger and the applications through adb.

If you use eclipse with ADT, you do not have to worry about the debugger
ports as ADT will automatically get them from the ddms plugin and
connect the debugger automatically to the proper port.

Xav



On Mon, May 19, 2008 at 8:30 AM, Bushnaq, Ahmad
<[EMAIL PROTECTED]> wrote:


        What determines the debug port the application is listening on?
Right now I'm looking at my logs and LogCat view says the application is
waiting on port 8100, while the android log says it is trying to connect
on port 8606! I looked in the debug configuration and see nothing there
about setting the port...
         
        Ahmad








--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to