Debugging iOS/AIR content on the device

2020-03-04 04:44发布

问题:

I've created some flash content in FlashDevelop (v 4.0) that I've turned into an .ipa and put on the device. I would like to debug the content while it is running on the device because it is giving me some unexpected behaviour.

Is debugging AIR content on the physical device possible with FlashDevelop remote debugging? How to set that up?

回答1:

Yes remote debugging from FlashDevelop works with AIR iOS & Android projects (provided they share the same Wifi LAN):

  • You need to edit the .Bat packaging script so the command would be:

    adt -target ipa-debug-interpreter -connect -keystore [...]

    adt -target apk-debug -connect -keystore [...]

  • Then start FD remote debugging just before starting the app.