Debug commands give you tools to play back your movie and, at the same time, examine the inner workings of the timeline, object properties, and ActionScript code. Similar to testing, you can debug your animation in different environments: Flash Professional, Device Central, AIR Debug Launcher (Desktop), or AIR Debug Launcher (Mobile).
Windows: Ctrl+Shift+Enter
Mac: Shift-⌘-Return
Plays your animation while displaying information in the Debugger window, where you can monitor the list of objects and variables your animation and ActionScript are using.
Windows: Alt+F12
Mac: Option-F12
Stops the debugging session and stops playback of the animation.
Windows: Alt+F6
Mac: Option-F6
Used during debugging in combination with breakpoints, the Step In command runs ActionScript functions step by step.
Windows: Alt+F7
Mac: Option-F7
Use Step Over during debugging in combination with breakpoints to step through your ActionScript code a line at a time. Stepping over a line of code tells Flash to execute the code even if the line contains a function call.
Mac: Option-F8
Use Step Out during debugging in combination with breakpoints. You use this command to return from examining a function in your ActionScript code (see Step In above).
Mac: Shift-⌘-B
Breakpoints are used in debugging as a way to stop the animation and ActionScript program from running, which gives you the opportunity to examine the code, variables, and properties. This command removes all the breakpoints you previously placed in your ActionScript program.
Remote debugging is the programmer's art of debugging an .swf file on a remote server. Use this command to begin remote debugging after you've done the necessary setup chores of choosing your ActionScript version, creating a remote debugging file (.swd), and uploading files to the server.