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.

猜你喜欢

转载自blog.csdn.net/lwhsyit/article/details/79820006