• 首页 首页 icon
  • 工具库 工具库 icon
    • IP查询 IP查询 icon
  • 内容库 内容库 icon
    • 快讯库 快讯库 icon
    • 精品库 精品库 icon
    • 问答库 问答库 icon
  • 更多 更多 icon
    • 服务条款 服务条款 icon

升级到本地和远程的Safari 7.0.4后没办法设置Web检查器断点

用户头像
it1352
帮助1

问题说明

升级到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.

正确答案

#1

证明问题是停止插件来节省电力是在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
系列文章
更多 icon
同类精品
更多 icon
继续加载