Update Time! Next Up: ASDebugger 2.2
On May 3, 2009, Flash,Flex - No CommentsI’ve updated the ASDebugger. Not much news here, I only implemented an updated (less buggy) version of the FlpTree. You can download the debugger on the project page.
I’ve updated the ASDebugger. Not much news here, I only implemented an updated (less buggy) version of the FlpTree. You can download the debugger on the project page.
I’ve just released ASDebugger version 2.1. Some minor bugs are fixed, like:
And some features are added:
For this update you need to update both the SWC and the SWF / EXE file! But there’s backwards compatibility both ways.
And it’s available at the project page, now.
Yeah! It’s here, the long awaited update for my debugger. And since I’ve added a lot of new functionality, I decided to raise the major version number (easy decision to make when you’re the only developer on the project
). So, what does it do? Well, a small list:
When you’re developing an Actionscript project – Flash or Flex – you cannot live without a decent debugger. Flex provides quite a good debugger and the Flash IDE has also a reasonable debugger. The problem with those debuggers is that you have to build explicitly for the debugger. So when you’re deploying on a remote server, you don’t have those debug options.
The ASDebugger allows you to trace variables. It has support for strings, integers, arrays, dates, arraycollections, objects and everything in between.
Usage is simple, import the asdebug.as class in your application and call the debugger:
import nl.flplibrary.debug.ASDebugger; import mx.collections.ArrayCollection; private function simpleDebug():void { ASDebugger.debug("<b>test</b>"); } private function advancedDebug():void { var o:Object = new Object(); o.my_string = "<i>string</i>"; o.my_number = 123.456; o.my_int = parseInt("1"); o.my_array = ["item 1", "item 2", "item 3"]; o.my_arraycollection = new ArrayCollection([{label:"item 1", data: 1}, {label:"item 2", data: 2}, {label:"item 3", data: 3}]); o.my_object = { label1:"item 1", data1: 1, label2:"<i>item 2</i>", data2: 2, label3:"item 3", data3: 3}; o.my_date = new Date(); o.my_xml = new XML(); o.recurse = o; ASDebugger.debug_prop(o); } |
Before running the application, startup the ASDebugger. The ASDebugger comes in different flavors: