开发者

Catching uncaught exceptions

In my workplace we are mantaining a lot of ecommerce websites, some coded better than others. On some of those, sometimes uncaught exceptions are thrown, and showed by the alertbox from the flash player debug (If you have it installed).

To rise the average user experience I'd like开发者_如何转开发 to report all those exceptions throught a in house tool we already have.

Is there a way to catch those exceptions? Maybe the flash player debug exposes them to javascript, or in some other way.


See this Flex SO question, particularly its update pointing to uncaughtErrorEvents.

Essentially, no. But eventually, yes.


they ARE logged

http://blog.flexexamples.com/2007/08/26/debugging-flex-applications-with-mmcfg-and-flashlogtxt/ (Windows vista and 7 location is C:\users\username\mm.cfg)

But the default logs don't really give much info. However, you may be able to find more info with one of the undocument features of mmcfg: http://jpauclair.net/2010/02/10/mmcfg-treasure/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜