O'Reilly logo

Professional Flash® Mobile Development: Creating Android™ and iPhone® Applications by Richard Wagner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required