Actionscript 3 Tools – MonsterDebugger

I recently came across a really great tool for debugging Flash applications – It is called MonsterDebugger.

Overall it is a very helpful tool. It allows you change public variable values on the fly and features trace filtering and a tree listing for tracing lists such as Objects, Arrays, JSON, XML, etc… It also gives you a detailed list of all active display objects. It has a very simple API and also features a walkthrough minigame to help familiarize you with the features. It gives you the current frame rate as well as memory usage information. There is one one caveat. It reports memory usage for all flash applications currently running. So, if you have a bunch of flash games running in background tabs, don’t be surprised if your ram usage looks insanely high!

Incorporating MonsterDebugger into your projects is very easy. It has a very lightweight API that is easy to use. I had it integrated into some large projects within minutes and I have found myself using it more and more. Its trace output is much nicer and more organized than searching through Flash’s console output. I tend to use MonsterDebugger along side Flash’s console. I use Flash console to trace simple text messages and variable values. Then, I use MonsterDebugger to trace larger data structures such as Objects and Arrays. The expandable tree listing for Objects and arrays is very nice.

To integrate MonsterDebugger into your projects, just install the MonsterDebugger.air application and export it’s .SWC library to your project classpath. Then, this is all the code you need to get started:


/** initialize the debugger - Remove this code for Release */
MonsterDebugger.initialize(this);
/** Sample Trace Output to MonsterDebugger */ 
MonsterDebugger.trace(this, "Hello World!");

Note: You will need to have the MonsterDebugger air application running to see its trace output. Otherwise, nothing will happen.

I have found MonsterDebugger to be a huge help on my projects. Maybe you will too! It is definitely worth checking out!

About these ads

About Warlic

I am a professional game programmer, specializing in Actionscript. I got my start in game programming by composing music for games for and Artix Entertainment, LLC. I am better known as Warlic to the Artix gaming community. However, This blog is not affiliated with Artix Entertainment, LLC

Posted on April 30, 2012, in Flash, Gaming and tagged , , . Bookmark the permalink. 2 Comments.

  1. Heey Warlic, great post! Im glad you like the tool. It always nice to give something back to the community. Good luck there.

    Regards,
    Ferdi

    • Thanks for the shout out :) and thanks to DeMonsters for making MonsterDebugger! It is a wonderful tool and as a member of the community, I am grateful that it is available.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: