Scaleform AS3 debugger

You can now use GFxPlayer instead of Adobe Flash Player to debug AS3 code. The Scaleform AS3 debugger lets you debug code running on consoles, tablets and phones and debug locally and remotely as well.

To use the AS3 debugger, replace the original debugger version of Adobe Player with Scaleform Player and then set up a debug session.

Set up a debug session to debug locally

Use GFxPlayer with either of these external tools and set the player path to GFxPlayer:

  1. FlashDevelop (http://www.flashdevelop.org/)

    1. Change Player globally: Tools > Program Settings > FlashViewer > External Player Path.

    2. Change Player for a project: Project > Properties > Test Project > Run Custom Command > Edit.

  2. IntelliJ IDEA (https://www.jetbrains.com/idea/)

    • Create a project with "Target platform" set to "Web". ("Desktop" doesn't allow to change player)
    • Run > Edit Configurations > Options > Launch with > ... > Flash Player.

Set up a remote session to debug remotely

You can also debug remotely using the GFxPlayer with the following external tools:

  1. FlashDevelop (http://www.flashdevelop.org/)

    • Debug > Start Remote Session.
    • Launch GFxPlayer with a SWF file as an argument. GFxPlayer will connect to a debugger automatically.
  2. IntelliJ IDEA (https://www.jetbrains.com/idea/)

    • Use an empty bat-file as a player name.
    • Launch GFxPlayer with a SWF file as an argument. GFxPlayer will connect to a debugger automatically.

Note:To debug ActionScript and C++ simultaneously, launch a remote session within ActionScript IDE and run GFxPlayer within Visual Studio. GFxPlayer will connect to a debugger automatically.

Current limitations

  1. Watch points are not supported yet. This doesn't affect FlashDevelop and IntelliJ IDEA as they don't support this functionality.
  2. Cannot suspend running code.
  3. Cannot stop on throw.
  4. Doesn't work with these external tools yet: