2. Quick start
Getting started with the Monster Debugger is really easy. Just take the following steps and you'll be up and running in no time:
- Download and install the Adobe AIR runtime from: http://get.adobe.com/air/
- Download and install the Monster Debugger.
- Export the client SWC file from the Monster Debugger to your own project.
- Link the client SWC file to your project (read more about this in the next chapter).
- Initialize the debugger in your main class:
package { import com.demonsters.debugger.MonsterDebugger; import flash.display.Sprite; public class Main extends Sprite { public function Main() { // Start the MonsterDebugger MonsterDebugger.initialize(this); MonsterDebugger.trace(this, "Hello World!"); } } }
- Publish your project and watch the magic happen.
This basic setup works for all Adobe Flash, Flex and AIR applications. In the following chapters we will focus on more specific use cases like the new Flex component and mobile debugging.