X code堆栈跟踪没有出现在控制台 [英] Xcode stack trace not appearing in console
本文介绍了X code堆栈跟踪没有出现在控制台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我习惯了有一个堆栈跟踪出现在控制台的时候我不明白一个例外,它抛出回的主要功能。有没有一种构建以x code 4.2,我没有上的某个地方设置?现在,它显示什么在控制台的。
I am used to having a stack trace appear in the console when I don't catch an exception and it throws it back to the main function. Is there a build setting somewhere in Xcode 4.2 that I don't have on? Right now, it shows nothing in the console at all.
推荐答案
尝试在异常增加一个断点。
Try adding a breakpoint on exception.
- 单击断点的选项卡(CMD + 6)
- 单击('+')按钮,左下角的添加。
- 单击添加例外断点......
- 将默认设置并单击完成。
现在,当抛出一个异常,应该送你进入调试器在抛出异常的行。
Now when an exception is thrown it should drop you into debugger at the line that throws the exception.
这篇关于X code堆栈跟踪没有出现在控制台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文