Debug your AIR application

Check out our short screen cast to get quickly started running and debugging your AIR application.

Running your AIR Application

Run Air Application Button
Run Air Application Button
After you create an AIR application, press the Run button in your toolbar to launch your application.

To Debug your AIR Application

Debug Air Application Button
Debug Air Application Button

Aptana Studio creates a Debug configuration when generating your AIR application. To begin debugging, click the Debug button on the toolbar.</div>

Stepping Through Your JavaScript

Debug Toolbar
Debug Toolbar
  1. Add a breakpoint where you'd like the debugger to stop by double clicking on the left gutter for that line. Alternatively, you can also use the Pause button to stop on the first line of JavaScript execution.
  2. Press the Debug button on the toolbar to launch your application and the debugger will stop the app's execution when it hits the line where you inserted the breakpoint.
  3. The perspective automatically changes to the Debug perspective (About Eclipse Perspectives).
  4. You can then use the Step, Step Over, Step In or Run button in the debugging toolbar to maneuver through your source code.
  5. To end the debug session, click the square red button (the Terminate Button) on the debugging toolbar.