Would you like to tell us how we are doing?

You bet No thanks

Test applications using Flash Builder

In Adobe Flash Builder, you can start your application in either run or debug mode.
  • Run mode: Your application executes but cannot be suspended or examined.
  • Debug mode: Your application can be executed, suspended, and resumed. This allows you to examine, test, and debug your application.
Before you begin:

Create a launch configuration

The following steps describe how to create a debug configuration.

  1. In Adobe Flash Builder, on the Run menu, click Debug Configurations.
  2. In the list of configurations, right-click Mobile Application.

    Test-FB47-LaunchConfiguration

  3. Click New.
  4. On the Main tab, in the Launch method section, select your launch method.
    • Select On device for testing on a device.
    • Select On Simulator for testing on a simulator.
  5. In the Launch configuration section, select your BlackBerry device or simulator from the drop-down menu.
  6. Select the Install and launch the application on the device checkbox.

    Test-FB47-Main

  7. On the Common tab, in the Display in favorites menu section, select the Debug checkbox.

    Test-FB47-CommonTab

  8. Click Apply.
  9. Click Debug to start your application on your BlackBerry device or simulator.

Debug or run your application

To execute your application using a debug configuration, choose one of the following steps:
  • Click the debug icon; or
  • On the Run menu, expand Debug As. Click Mobile Application.
To execute your application using a run configuration, choose one of the following steps:
  • Click the run icon; or
  • On the Run menu, expand Run As. Click Mobile Application

The Console pane displays any debug output information. You can switch to the Debug perspective for a more detailed view of your debug session.


Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus