为什么在应用启动时Xcode自动执行断点 [英] Why the Xcode automatic execute breakpoint when the App launch

查看:143
本文介绍了为什么在应用启动时Xcode自动执行断点的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Xcode中设置了一个函数(所有异常)

I set a function ( All Exceptions ) in Xcode ,

我没有设置任何断点,

但是启动我的应用程序时,Xcode自动执行主要功能的断点。

but when start my App that the Xcode automatic to execute breakpoint for the main function .

我听不懂,也无法解决。

I cannot understand it and i cannot solve it .

请帮我回答这个问题。

非常感谢。

这是图片,感谢阅读:

it's the image , thanks to read :

推荐答案

如果设置All Exceptions断点,则该应用程序不仅会在出现严重错误时中断,而且还会在出现以下错误时中断:

如果要在特定位置进行调试,则仅为该特定窗口或视图启用断点。

您可以启用&禁用以在您的Xcode中产生反射。您应该尝试删除所有警告,如果您使用的是Coredata,请确保使用正确的线程和MOC(这是最不麻烦的错误之一)。

There are many flags that you can enable & disable to have a reflection in your Xcode. You should try to remove all the warnings, and if you are using Coredata be sure you are working with correct thread and MOCs (this being one the least bothered error).

这篇关于为什么在应用启动时Xcode自动执行断点的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆