简体   繁体   English

显示UIWebview时Xcode 7.3断点不起作用

[英]Xcode 7.3 breakpoints not working when a UIWebview is displayed

I have been having problems with debugging and breakpoints for my iOS application ever since I upgraded to Xcode 7.3. 自从升级到Xcode 7.3以来,我一直在为iOS应用程序调试和断点时遇到问题。

The issue comes up specifically when a UIWebview is displayed in my app. 当我的应用程序中显示UIWebview时,特别会出现此问题。 If I add a breakpoint and that piece of code is executed, Xcode basically locks up and doesn't let me stop debugging or anything. 如果我添加一个断点并执行了该段代码,则Xcode基本上会锁定并且不会让我停止调试或执行任何操作。 I end up having to force quit. 我最终不得不强迫退出。

Has anyone else experienced this and/or have any ideas on how to fix it? 其他人有没有经历过和/或对如何解决有任何想法?

This is a well known issue with Cordova based hybrid apps on Xcode, every time I get this issue I clean the whole project and run it again everything is back to normal. 这是Xcode上基于Cordova的混合应用程序的一个众所周知的问题,每次我收到此问题时,我都会清理整个项目并再次运行它,一切都恢复正常。 Try resetting the simulator too if issue still not fixed. 如果问题仍未解决,请尝试重设模拟器。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM