Why the Xcode automatic execute breakpoint when the App launch

好久不见. 提交于 2019-12-11 01:17:53

问题


I set a function ( All Exceptions ) in Xcode ,

I have not set any breakpoint ,

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 .

please help me to answer the question .

thanks very much .

it's the image , thanks to read :


回答1:


If you set All Exceptions breakpoint, the app breaks not only on severe errors, but on possible errors as well.

If you want to debug in a particular place, then enable the breakpoint only for that particular window or view. Don't keep it enabled for entire lifecycle of the app.

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).



来源:https://stackoverflow.com/questions/34525634/why-the-xcode-automatic-execute-breakpoint-when-the-app-launch

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!