开发者

Catching uncaught exceptions

开发者 https://www.devze.com 2022-12-27 07:29 出处:网络
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 play

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

精彩评论

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

关注公众号