Skip to main content
Participating Frequently
February 28, 2012
Question

Debugging iPhone over USB

  • February 28, 2012
  • 1 reply
  • 13188 views

Hello,

I know you can debug iPhone over Wifi, but can you debug over USB?

Thanks

This topic has been closed for replies.

1 reply

Projectitis
Inspiring
February 28, 2012

Yes you can.  I haven't done it myself, but instead of adding the -connect option to the ADT command line, you add the -listen option with a port to listen to. e.g.:

-listen 7328

However, once you have compiled your package with ADT I don't know what the debugging process is on the machine

Participating Frequently
February 28, 2012

Thanks for the reply, Pea.  I'm going to try this when I get home.  It's going to my first time loading the iPhone with an Adobe AIR app.

Is 7328 the port the debugger listens on?  And do you mean that you haven't gotten iPhone debugging to work in general?

Projectitis
Inspiring
February 28, 2012

No, 7328 is a number that I made up.  i think you can use any number as long as you use the same one at both ends.  I haven't been able to get debugging working yet (i.e. I haven't been able to connect using FDB), but I have been able to compile the package with debugging enabled.

Here is the Adobe help about Remote debugging with FDB over USB.  Good luck!

Edit: It looks like the port that FDB uses by default is 7936. You can specify '-listen' with no port number.