AIR Native Extensions have been around for years. If you have been using them, you might have faced some debugging problems where your app is crashing with no obvious reasons. You might spend a lot of time trying to figure out what could be wrong in your setup before you would notice that you have missed to set a property or an argument properly. Well, this is why we decided to build a tool to let you easily debug AIR Native Extensions.
We have recently updated our OverrideAIR ANE to V4.0.0 which allows you enable debugging in all of our ANEs.
This ANE has been around for a long time acting only as a dependency but since V4.0.0 we have introduced a new method in it which you can use to enable global debugging.
// import the ANE class to have access to its method
// in your project's constructor method enable the debugger
// It is recommended to do this BEFORE initializing any other ANEs
// create a function with three inputs as follow to receive the debugging information
function myDebuggerDelegate($ane:String, $class:String, $msg:String):void
trace($ane + "(" + $class + ") " + $msg);
Besides this tool, we have also created an ANE inspector tool which tells you if you have embedded all of the dependencies for any specefic ANE we have in MyFLashLabs store.
Enjoy Building AIR Apps,
MyFlashLabs Team ❤