My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
GettingStarted  
How to get started: download and install the plugin
Updated Feb 4, 2010 by msj...@gmail.com

Introduction

It's easy as:

  1. Download
  2. Install
  3. Use

Details

Step 1

Download the plugin SWF and save it in the same place as the project you want to use it with (in Flex, this would be the project's bin or bin-debug folder). KapInspectJitrBugModule.swf should live alongside your main SWF file.

Step 2

Add the plugin to KapInspect (it's assumed that you already have KapInspect or PureMVCConsole integrated with your project -- if not, see http://lab.kapit.fr/display/kapinspect/Kap+Inspect)

  • For MXML: add pluginModules="KapInspectJitrBugModule" to your KapInspect tag.
  • For AS3: add myKapInspect.pluginModules="KapInspectJitrBugModule"; where myKapInspect is an instance of the KapInspect class.

Then simply rebuild or recompile your SWF.

Step 3

To start the plugin, simply launch KapInspect as normal in your application, then activate the plugin using any of these methods:

  • click on the JITrBug Panel in the component bar on the bottom (icon is an "@" symbol)
  • right-click on any object in the introspection tree and choose "Show JITrBug ActionScript Panel for:" from the menu
  • hit CTRL+J inside KapInspect

Finally, type any valid AS3 code into the text box, then hit CTRL+ENTER or click Execute.

If your code contains parse errors, you'll be notified with an Alert. If your code causes a runtime error (exception), the error will be sent to the trace log -- for this reason, it's recommended that you have the Debug mode flash player installed and set up with a log file. If you don't have this set up yet, check these:

Click on the (tips) link to get helpful info on best practices for entering AS3 code.

Powered by Google Project Hosting