Flash Builder 4.5 debugger terminates | Safari

和自甴很熟 提交于 2019-11-30 19:01:44
Noah

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.

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. "

If you're running a nightly build of webkit you can enter the following in your command line, then debug in Webkit

defaults write com.apple.Safari WebKitDisablePluginProcessMessageTimeout YES

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

Name: Webkit
Location: /Applications/WebKit.app/Contents/MacOS/WebKit

Chrome has an option to --disable-hang-monitor: http://kb2.adobe.com/cps/831/cpsid_83111.html

Jason Reeves

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:

defaults write com.apple.Safari WebKitDisablePluginProcessMessageTimeout YES
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!