且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用iOS Simulator&进行调试应用程序崩溃XCode 4在main()函数中暂停,而不是崩溃源

更新时间:2023-10-20 20:45:34

转到断点面板,然后添加左下角的内容,单击+号并添加"Exception breakpoint".

Go to the breakpoints panel, and add the bottom left, click the + sign and add an "Exception breakpoint".

例外:全部
休息:投掷.

Exceptions : All
Break : On throw.

在大多数情况下,这应该可以解决问题.

That should solve the problem in most cases.