Skip navigation
Currently Being Moderated

Debugging iPhone over USB

Feb 28, 2012 10:52 AM

Hello,

 

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

 

Thanks

 
Replies
  • Currently Being Moderated
    Feb 28, 2012 1:55 PM   in reply to as3 developer

    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

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 28, 2012 2:43 PM   in reply to as3 developer

    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.

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 28, 2012 3:30 PM   in reply to as3 developer

    Hmm. It looks like perhaps cable debugging is only available on Android. Here is another article about building and debugging iOS AIR apps, and it specifically says "transfer teh app to the device using the cable, but use WiFi for debugging".  Sorry about that!

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 28, 2012 7:06 PM   in reply to as3 developer

    Sorry, I don't know the answer to that - maybe someone else knows?

    Anyone?

     
    |
    Mark as:
  • Currently Being Moderated
    Feb 29, 2012 5:00 AM   in reply to Pea

    Debugging over USB is currently not supported on iOS devices. Currently you can debug only on wifi for iOS devices.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points