始终触发所有异常断点 [英] Always trigger the all exceptions break point
问题描述
我在项目中启用了All Exceptions
断点.
I had enable a All Exceptions
break point in my project.
但是,在启动应用程序时,UIApplicationMain()函数始终会触发断点. 我认为这里没有例外,因为如果我两次单击下一步"按钮,则该应用程序将成功启动.
But the UIApplicationMain() function always trigger the break point when the app launching. I think there was no exceptions here because if I click the Next Button twice, the app will launch successfully.
我尝试注释AppDelegate中的代码,但是它不起作用.
I have tried commenting the code in the AppDelegate, but it does't work.
推荐答案
可能的解决方案是:
- 添加的自定义字体可能会导致此问题,因此,显然,将其删除(替换)在项目中某个地方仍然是他的引用,这会导致C ++异常.
因此,删除或替换所有对这些字体的引用,清理项目并检查.
So, Delete or Replace all references to those fonts, Clean the project and check.
- 在所有异常"中从所有异常"更改为"Objective-C异常".
检查此答案将有更多帮助:
Check this answers will help more:
Xcode会抛出一个iOS 8中Main()中带有所有异常"断点的异常
尝试并检查是否有帮助:)
Try and check if it help:)
这篇关于始终触发所有异常断点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!