The Digizex Debugger for Flash and Flex: Drop-in KapInspect and De MonsterDebugger without Breaking a Sweat [AS3] · May 20, 09:43 AM

If you like De MonsterDebugger or KapInspect, you’re gonna love this. This is a stripped-down version of Digizex that includes only the debugging features, and none of the Content Management Stuff. The only requirement is that you have De MonsterDebugger AIR app installed on your system. The initialization code is dead simple. For Flash and Pure AS3 Projects:

Digizex.debug(stage)

For Flex Projects, add the following to the Application tag:

addedToStage="Digizex.debug(this)"

Of course you also need to import the library:

import com.digizex.Digizex;

Usage

When you run your SWF you should see the Digizex control panel appear in the top-left corner. Click on the magnifying-glass icon. Now you can right-click on any control in your swf and instantly debug that control. In other words, point-and-click debugging for MonsterDebugger and KapInspect! (Note: In order to debug an object in KapInspect, you must click the KapInspect icon first.)

Download Digizex Debugger

Download Digizex Debugger Now

Examples

Issues

The debugger is loaded in at run-time and there is no progress indicator, so please be patient if you don’t see the control panel for a few moments. The same goes for when you click on any of the icons on the Control Panel, each button loads a module that may take a few moments to load. Also, after I wrote this article I realized that De MonsterDebugger does not want to launch from within the browser. However, you can still manually launch De MonsterDebugger the way you normally would, and then use the right-click menu as described above.

— Pickle

---

Comment

  1. Hi, when I try to initialize, I get the following error:

    Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.

    is there something i need to do to enable remoting maybe?

    Any help very appreciated… Thanks.

    CB · Jun 8, 03:44 AM · #

  2. Remoting isn’t required. Make sure you copy all the swf files from the zip file to the same folder that the swf you want to debug is in. The error is caused because it can not find the swf files.

    Pickle · Jun 8, 05:41 AM · #

  3. Awesome. I’ve been struggling for hours to get KapInspect to work with a plain AS3 project. I downloaded your Digizex Debugger, and it loads KapInspect perfectly. How did you do it? I looked through the source in your zip, but it doesn’t reference KapInspect at all, so I assume that you do it in one of your SWFs. Any help would be greatly appreciated. Cheers!

    shaun · Jun 26, 02:05 AM · #

  4. shaun, Thanks for the feedback, good to know it’s easy to use :) KapInspect gets loaded by kiplugin_module.swf. Also, you couldn’t find the code because the Debugger zip file does not include the source. You can download the full Digizex Source Code from the Digizex Google Code Page

    The way it works is by first loading a flex-based swf (digizex.swf) which in turn loads kiplugin_module.swf. This 2-stage process allows flash and flex to live in harmony better than any other method I have tried. Also, there is some code in there that automatically hides the flex swf when it detects that flex popups have been closed by the user. This is necessary because otherwise Flex insists on interfering with the non-flex stuff.

    Pickle · Jun 26, 05:59 PM · #

  5. Pickle, thanks for the detailed response! I’ll have to dig into that when I get a chance. And Digizex itself – I bookmarked it a little while back, but haven’t gotten around to checking it out properly yet. Cheers!

    shaun · Jun 30, 11:59 AM · #

  6. cool. fyi – the flash (as3) core of Digizex is really just a simple way to load in the digizex shell which subsequently loads the digizex modules as they’re need. The shell can load flash-based or flex-based modules. There is really no difference between the Digizex Debugger and the full Digizex CMS other than the fact that the CMS has some additional modules (and of course there’s the php-based backend which the debugger doesn’t use either).

    Pickle · Jun 30, 06:27 PM · #

Textile Help