Flash Builder 4.5 调试器终止 |狩猎之旅
因此,似乎所有主要浏览器供应商都在对 Flash 插件进行沙箱处理,并在达到一定程度的不活动后将其终止。对于将 Flash Builder 调试器连接到浏览器的开发人员来说,这是一个问题。如果您停留在断点上超过 45 秒,则会终止您的会话。
我在 Firefox 上找到了一个要更改的配置参数,禁用了此功能,但我还没有找到适用于 Safari/Webkit/Chrome 的类似命令。
http://kb2.adobe.com/cps/899/cpsid_89943.html
“为了防止 Firefox 终止它认为无响应的插件,请将 dom.ipc.plugins.timeoutSecs 设置为 -1有关:配置的更多信息,请参阅插件挂起检测器。”
So it seems all the major browser vendors are sandboxing the flash plugin, and terminating it after a certain amount of inactivity. This is problematic for developers who connect the Flash Builder Debugger to the browser. If you stand on a breakpoint for more than 45 seconds, it terminates your session.
I've found a config param to change on firefox that disabled this functionality, but i havent found a similar command for Safari/ Webkit / Chrome.
http://kb2.adobe.com/cps/899/cpsid_89943.html
"To prevent Firefox from terminating plug-ins that it considers unresponsive, set dom.ipc.plugins.timeoutSecs to -1 in about:config. For more information, see Plugin hang detector."
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
浏览器重置不活动状态:
Chrome
在命令行上传递
--disable-hang-monitor
。火狐浏览器
在地址栏中输入
about:config
。找到
dom.ipc.plugins.timeoutSecs
并将其值设置为 -1。野生动物园
没有配置开关,请使用
SafariNoTimeout
。Inactivity resets by browser:
Chrome
Pass
--disable-hang-monitor
on the command line.Firefox
Type
about:config
in the adress bar.Find
dom.ipc.plugins.timeoutSecs
and set its value to -1.Safari
No configuration switches, use
SafariNoTimeout
.当我遇到这个问题时,我切换到了Firefox。但如果你不想切换浏览器,我刚刚发现了这个:
http://www.macupdate .com/app/mac/11457/safarinotimeout/
“对于任何在等待网页时经历过令人烦恼的 60 秒超时的 Web 开发人员或用户来说,SafariNoTimeout 都是必备工具。”
I switched to Firefox when I encountered this problem. But I just found this if you dont want to switch browser:
http://www.macupdate.com/app/mac/11457/safarinotimeout/
"SafariNoTimeout is an essential tool for any web developer or a user who has ever experienced an annoying 60 seconds timeout while waiting for a web page. "
如果您正在运行 webkit 的夜间构建,您可以在命令行中输入以下内容,然后在 Webkit 中进行调试。
现在,当您启动指向 WebKit 的调试器时,它不会终止该插件。
注意:您可以在“首选项”-“Web 浏览器”-“添加新项”中定位 Webkit
If you're running a nightly build of webkit you can enter the following in your command line, then debug in Webkit
Now when you launch your debugger pointed to WebKit, it wont terminate the plugin.
Note: You can target Webkit in you Pref - Web Browser - Add New
Chrome 有一个选项 --disable-hang-monitor:http://kb2.adobe。 com/cps/831/cpsid_83111.html
Chrome has an option to --disable-hang-monitor: http://kb2.adobe.com/cps/831/cpsid_83111.html
好的,所以我看到了这个参考文献 Jack Murphy 关于 Webkit nightly build 以及如何关闭超时。所以,我想... 嗯 Safari... Webkit.. 我尝试了同样的方法。没用。所以时间在流逝......没有答案......与人们谈论这个......并且不理智说nada......所以一时兴起我又尝试了一次。
我使用的是 Mac OSX 10.8.2 和 Safari 6.0.2,这对我有用
打开控制台并输入:
ok, so I saw this reference Jack Murphy about Webkit nightly build and how to turn that timeout off. So, I thought... hmmm Safari... Webkit.. and I tried the same method. Didn't work. So time goes by ... not answers... talk to people about this... and unsanity says nada... so on a whim I tried it again.
I'm on Mac OSX 10.8.2 and Safari 6.0.2 and this it works for me
Open console and type: