Testing and Debugging

Must Read

Canon PowerShot G12 Set Your Focus

Canon’s focus modes will give you a ton of flexibility in your shooting. There is, however, one small problem...

Are Secured Debt Consolidation Loans History?

Loans secured for the purpose of consolidating loans have, since the onset of the credit crunch, become increasingly difficult...

Nikon D7000, Using Aperture Priority Mode

If you took a poll of portrait photographers to see which shooting mode was most often used for portraits,...

Marketing Guide Book The Little Book of Network Marketing “A Pocket Guide”

Don't let the small size fool you! This handy pocket guide packs all things network marketing from A to...

Second Mortgage Loans Are Cool for Debt Consolidation and Cash Out

With the refinance boom officially over, second mortgage loans are cooler than ever. Many homeowners have been blessed with...

Trapped in the Maze of a DUI?

Driving under the influence (DUI) is a serious offense given to someone who is caught driving a motorized vehicle...

The Adobe remote debugging session uses either USB (recommended) or WiFi, hence our Internet permission setup earlier.

For networking, turn on WiFi on the device and connect it to the same wireless network as your development computer under Settings→Wireless & Networks→Wi-Fi. If you are on Windows, make sure you disable your firewall (port 7935 must be open).

Using Flash Professional

To test and debug in Flash Professional, follow these steps:

  1. Select File→AIR Android settings.
  2. Under the Deployment tab, for “Android deployment type”, choose Debug (see Figure 2-3).
  3. Start a debug session by selecting Debug→Begin Remote Debug Session→Action- Script 3.0. Launch the application on the device.

If you are debugging using WiFi, when you are prompted for a hostname or IP address, enter it. On Windows, you can obtain this information by typing ipconfig at the command prompt. On the Mac, click on the WiFi icon and select Open Network Preferences; if you are using the Terminal window, type ifconfig and look for the address at the beginning of the line starting with “inet”.

When the session starts, you should see “Waiting for Player to connect…” Now launch your application. You should see “Remote Flash Player: app:/first.swf”.

Deployment tab of AIR for Android SettingsUsing Flash Builder

To test and debug in Flash Builder, click the Debug button at the top of the screen. When you click on the button you should see the trace statements in your Console window (see Figure 2-4).

In addition to traces in the output window, you get breakpoint control, the ability to step through code, and variable monitoring.

There is a known issue with debugging not working the first time after installation on the device. Force-stop your application on the device and launch it again. This bug should be fixed in a future release.

Debug Settings option

Latest News

Digital Marketing for Beginners

Digital marketing for starter, Let to basic learning about connecting with your audience in the right place at the...

What are 7 things poor people do that the rich don’t?

1. poor people watch TV in which people read books how many hours you spend in front of the TV and when was the...

Top 18 best small business ideas for beginners starting

A small business can be frightening and requires plenty of careful planning there are many small business ideas which can be beneficial as well...

Summer that makes you happy

We saw were already here I've been thinking about some of the things. I used to do with my husband even though he had...

4 Point to helpful tips specifically for caregivers

What you need to take a vacation. I know it sounds impossible creative and try to make it work for you almost everyone needs...

More Articles Like This