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.

If you liked this, why not share it with your friends?
    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

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

    2. 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? Contact me right away.

      Comments have been disabled on my posts. Not because I don't want to hear from you, but because they were adding very little to the conversation (most of them were spam anyway). I do listen to you and try to keep as much posts as possible up-to-date and error free. So if you have a question, if something isn't working the way you hoped or you have general feedback, please use the contact form below. I guarantee an answer to every honest question or remark.
    • Get in touch
      1. (required)
      2. (valid email required)
       

      cforms contact form by delicious:days