Right now when I miss an error in my Application there isn’t any way for me to be notified that an uncaught exception has occurred. (PLEASE correct me if I’m wrong on that… like some low level undocumented super hack?)
I know this got shelved way back when but I wanted to start a post to maybe get this feature implemented for Flex 3.
I know Ely has said that this would be extremely hard to do anywhere but inside the flashplayer itself but I wanted to let the Adobe folks know that this is one of those REALLY nice to haves. If I don’t want to wrap “every” piece of code in a try catch I still want to be able to log/handle that exception some where.. some how.
December 2, 2006 at 7:08 pm
If you install the Debug player, uncaught exceptions should be visible via popup dialog
December 2, 2006 at 7:20 pm
Thanks seno… loved your 100 Actionscript3 tips. . It’s fantastic that it it notifies my eyes with the debug player. But I need something like this for as3.
December 4, 2006 at 4:03 am
well, I suppose you just have one main entry point in your code
then just wrap this one in a try/catch and it should catch any errors
in case you can not/don’t want to use the debug player
December 10, 2007 at 10:57 am
I miss this possibility too.
Why is the Application.error not fired when an exception is not caught?
If the debug-player can show the stack trace, why cant we get an Event somewhere.
Since evrything occurs based on an event, the best place to catch all not yet caught exceptions would be in the EventDispatcher.dispatchEvent i think.
December 10, 2007 at 3:41 pm
i entered it in the bug-database, you can vote for it: http://bugs.adobe.com/jira/browse/ASC-3060
March 12, 2008 at 10:21 am
They’ve moved it into a feature request. Here’s the new url:
http://bugs.adobe.com/jira/browse/SDK-11423
July 30, 2008 at 8:45 am
This feature is sorely needed - I sure hope they get this into the next version of the Flash Player.