Quick tip: ActionScript trace statements

In a previous post, I already hinted at the existence of the ActionScript “trace” statement. To make good use of it, you should install the debug Flash Player and FDTracer. FDTracer is a basic plugin for FlashDevelop that will show the trace output right inside FlashDevelop. No need to go find the logs files, everything is right there. Really simple, but oh so useful. Everything is explained here.

Be Sociable, Share!
This entry was posted in Flash and ActionScript. Bookmark the permalink. Both comments and trackbacks are currently closed.

4 Comments

  1. Posted September 16, 2008 at 6:59 am | Permalink

    This is a note to myself, but might also be useful for other people:
    * make sure you install the Flash debug player for ActiveX if you want it to work correctly with FlashDevelop. The “for ActiveX” part is important.
    * the debugger can be configured with the “mm.cfg” file placed in the users home directory. You might need to change some stuff around before it starts actually writing the trace file.

  2. Posted September 16, 2008 at 8:59 am | Permalink

    This is a note to myself, but might also be useful for other people:
    * make sure you install the Flash debug player for ActiveX if you want it to work correctly with FlashDevelop. The “for ActiveX” part is important.
    * the debugger can be configured with the “mm.cfg” file placed in the users home directory. You might need to change some stuff around before it starts actually writing the trace file.

  3. Posted September 16, 2008 at 7:02 am | Permalink

    I also noticed that, with the latest FlashDevelop, you no longer need the FDTracer plugin. Trace information is captured by FlashDevelop and put into the console. However, if you like your trace information in a separate window, it’s still a nice plugin.

  4. Posted September 16, 2008 at 9:02 am | Permalink

    I also noticed that, with the latest FlashDevelop, you no longer need the FDTracer plugin. Trace information is captured by FlashDevelop and put into the console. However, if you like your trace information in a separate window, it’s still a nice plugin.

2 Trackbacks

  • [...] Also, don’t forget the usefulness of the trace statement. [...]

  • By Three Ways to Trace in ActionScript 3 on December 7, 2010 at 4:02 pm

    [...] can mean the difference between hours of debugging and a quick analysis of the issue at hand. Previously there was the FDTracer plugin, but this is no longer needed. There are actually three much better ways that suite different [...]

  • Feedback or questions?

    Due to excessive (and I do mean excessive!) spam, comments and the feedback forms have been disabled. I'm very sorry for the inconvenience, but you can still contact me through Facebook and Twitter.