Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
The first thing you need to do to debug your program is to get the debugger running. Different products that use ActionScript 3.0 have different options for debugging, which we cover in this section. At a minimum, to start a debugging session, you need three things:
A SWF compiled specifically for debugging
The debugger version of Flash Player
A version of the AVM2 debugger
These requirements mean that you can debug programs in a variety of situations. You can debug a program running inside your browser from a remote web site, for instance, as long as your browser is running the debugger version of Flash Player, the remote SWF has been compiled for debugging, and you are running a debugger locally.