Flash CS3  |  Go to CS4 Help

Enter debugging mode

The way you begin a debugging session depends on the type of file you are working on. During a debugging session, Flash interrupts the execution of ActionScript when it encounters a breakpoint or a runtime error.

When Flash initiates a debug session, it adds special information to the SWF file that it exports for the session. This information allows the debugger to provide the specific line numbers in the code where errors are encountered.

You can include this special debugging information in all SWF files created from a specific FLA file in the Publish settings. This allows you to debug the SWF file even if you do not explicitly initiate a debug session. This debugging information makes the SWF file slightly larger.

Start debugging from a FLA file

 Select Debug > Debug Movie.

Start debugging from an ActionScript 3.0 AS file

  1. With the ActionScript file open in the Script window, select the FLA file that the ActionScript file should be compiled with from the Target menu at the top of the Script window. The FLA file must also be open in Flash to appear in this menu.
  2. Select Debug > Debug Movie.

Add debugging information to all SWF files created from a FLA file

  1. With the FLA file open, select File > Publish Settings.
  2. In the Publish Settings dialog box, click the Flash tab.
  3. Select Permit Debugging.

Exit debugging mode

 Click the End Debug Session button in the Debug Console.

Comments

Comments are no longer accepted for Flash CS3. Flash CS4 is the current version. To discuss Flash CS3, please use the Adobe forum.