flex Firefox Flash Debug Player Crash

After updating the Firefox to the latest version, while using Flex debug I found the debug session did not last much and it crashed after a short period. This happens because firefox kills the debug session. Found a quick fix for the above issue:
1. Goto firefox config by typing  about:config  in the firefox address bar
2. Click on the  I’ll be careful, I promise  button.
3. Type  dom.ipc.plugins.timeoutSecs
4. Find value and double click and change the value to  -1
This changes the default timeout value from 45 secs to unlimited. This should solve the issue.
Firefox升级到最新的以后,调试Flash的时候,只要有异常,弹出异常窗口以后,Firefox 就不响应了,过一会会显示Flash插件崩溃的信息,只能通过任务管理器强行关闭Firefox。
可以通过下面的方式来避免这个:
  1. Firefox地址栏输入about:config,打开高级设置,如果有警告直接忽略
  2. 在Filter里搜索dom.ipc.plugins
  3. 双击dom.ipc.plugins.enabled.npswf32.dll设为false
  4. 也可以把dom.ipc.plugins.timeoutSecs设为-1来禁用插件崩溃的timeout
  5. 重启Firefox,搞定!
其次,找到以下2个路径:
c:\WINDOWS\system32\Macromed\Flash\
C:\Program Files\Mozilla Firefox\plugins\ win7: C:\Program Files (x86)\Mozilla Firefox\Plugins
将前者文件夹中的NPSWF32.dll复制到后者文件夹中。
最后,重新启动Flex Builder 2或者3 Alpha,在Window->Preferences->General->Web Browser里选定Firefox,就万事大吉了。

win7  C:\Program Files (x86)\Mozilla Firefox\Plugins  C:\Windows\SysWOW64\Macromed\Flash    NPSWF64_11_3_300_257.dll
chromn  C:\Users\liuwh\AppData\Local\Google\Chrome\Application\21.0.1180.0\  NPSWF32_11_3_300_257.dll
Google Chrome bundles a version of the Flash player plug-in that it keeps up-to-date. Firefox 4's  plugin hang detector  stops flash player when it detects inactivity 1 . Read on to see how these challenges can be overcome when debugging flex/flash applications with Flash Builder.
his is how you can disable the hang monitor:
  1. In Flash Builder, open Window -> Preferences -> General -> Web Browser.
  2. Hit "New", type in Chrome, point to the location of Google Chrome2 and add --disable-hang-monitor in the "Parameters" field.
  3. Set the newly created Chrome as your browser. Note that this only applies to Chrome starting up when no chrome windows are already running.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值