Chapter 13. Remote Debugging

WHAT'S IN THIS CHAPTER?

  • Debugging on your mobile device

  • Enabling Android devices for debugging

  • Remote debugging inside of the Flash IDE

One of the major operations of any application development project is debugging. However, mobile apps pose a special problem on this ubiquitous development task — your runtime environment is located on a different machine from your development IDE. Therefore, you need to set up your debugging environment before you can debug on your Android and iOS devices.

In this chapter, I'll walk you through the steps you need to take to set up your development environment and devices for remote debugging.

ESTABLISHING A WIFI CONNECTION

Although your Android or iOS device will already be connected to your development computer via USB, remote debugging is actually done over WIFI. However, there's one condition for WIFI remote debugging to work — you'll need to connect both your development computer and device to the same WIFI network.

Some developers who have problems connecting to an existing WIFI network have had success by turning their Android device into a WIFI hotspot and then connect their development computer to it. To enable, go to Settings

ESTABLISHING A WIFI CONNECTION

You'll also need to know the IP address (or hostname) of your development computer. You can find it in Windows by running ipconfig in a Windows command line window. Or, if you're running a Mac, ...

Get Professional Flash® Mobile Development: Creating Android™ and iPhone® Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.