升级到本地和远程的Safari 7.0.4后没办法设置Web检查器断点
问题说明
升级到OSX 10.9.3(13D65)和Safari 7.0.4(9537.76.4)后,我无法使用Safari Web检查器在我的cordova应用程序中设置断点。启用的断点显示为深灰色,禁用为较浅的灰色。 调试器语句被忽略。模拟器(iOS 7.1 11D167)或物理设备(iOS 7.1.1 11D201)上的行为是相同的。移动应用程序确实显示在开发菜单(iPad模拟器或xxx iPad)下。我可以检查DOM。我尝试了这个问题中提出的解决方案:为什么Web Inspector显示我不可检查的应用?,而这个为什么Safari显示不可检查的应用程序在使用iOS 6设备进行远程调试时?
After an upgrade to OSX 10.9.3 (13D65) and Safari 7.0.4 (9537.76.4), I am unable to set breakpoints in my cordova app using the Safari web inspector. Enabled breakpoints appear as dark grey, disabled as a lighter grey. "debugger" statements are ignored. The behavior is the same on either the simulator (iOS 7.1 11D167) or a physical device (iOS 7.1.1 11D201). The mobile app does show up under the Develop menu (iPad Simulator or xxx iPad). I can inspect the DOM. I tried the solutions suggested in this problem: Why is Web Inspector showing me "no inspectable applications"?, and this Why Safari shows "No Inspectable Applications" during remote debugging with iOS 6 device?.
移动应用在本地进行编译。它可以在运行相同版本的OSX& Safari,但我无法访问该机器。这两台机器具有相同的开发人员配置文件和证书(使用私钥)。我如何诊断这个?谢谢你的帮助。
The mobile app is compiled locally. It is debuggable on a second machine running the same versions of OSX & Safari, but I don't have access to that machine full time. Both machines have the same developer profiles and certificates (with private keys). How can I diagnose this?? Thank you for your help.
正确答案
证明问题是停止插件来节省电力是在Safari /首选项(高级选项卡)。这样就禁止设置断点的能力。我不记得设置了,但是我没有看到任何表示升级设置的偏好。
turns out that the issue was "Stop-plugins to save power" was enabled under Safari / Preferences (Advanced Tab). That disabled the ability to set a breakpoint. I don't recall setting that, but I didn't see anything indicating that the upgrade set that preference.
这篇好文章是转载于:学新通技术网
- 版权申明: 本站部分内容来自互联网,仅供学习及演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,请提供相关证据及您的身份证明,我们将在收到邮件后48小时内删除。
- 本站站名: 学新通技术网
- 本文地址: /reply/detail/tanhcajhhg
-
YouTube API 不能在 iOS (iPhone/iPad) 工作,但在桌面浏览器工作正常?
it1352 07-30 -
iPhone,一张图像叠加到另一张图像上以创建要保存的新图像?(水印)
it1352 07-17 -
保持在后台运行的 iPhone 应用程序完全可操作
it1352 07-25 -
在android同时打开手电筒和前置摄像头
it1352 09-28 -
使用c++17更新时出现G++编译器警告
it1352 06-18 -
使用 iPhone 进行移动设备管理
it1352 07-23 -
扫描 NFC 标签时是否可以启动应用程序?
it1352 08-02 -
复制文件夹/文件而不修改属性?
it1352 07-15 -
Android App 和三星 Galaxy S4 不兼容
it1352 07-20 -
在不打开短信界面的情况下从 iPhone 应用发送短信?
it1352 07-25