XCode全局断点不显示堆栈跟踪 [英] XCode Global Breakpoints don't show stack trace
问题描述
我从地点libobjc.A.dylib和CoreFoundation设置了全局断点。我运行我的iPhone应用程序,它遇到了异常。 XCode在断点处停止但在日志中没有显示任何错误:
待定断点1 - objc_exception_throw已解决
待定断点2 - - [NSException raise]已解决
I set up global break points from locations libobjc.A.dylib and CoreFoundation. I run my iphone app and it hits the exception. XCode stops at the breakpoint but does not show any error in the log besides: Pending breakpoint 1 - "objc_exception_throw" resolved Pending breakpoint 2 - "-[NSException raise]" resolved
我单击控制台上的继续按钮,在启用断点之前,我收到了同样难以区分的错误。
I click the "Continue" button on the console and I get the same indistinguishable error I received before I enabled the breakpoints.
如何设置全局断点的堆栈跟踪是否应该生成?
How do I get the stack trace that setting up the global breakpoints is supposed to generate?
推荐答案
输入 bt来自GDB控制台的
或 backtrace
这篇关于XCode全局断点不显示堆栈跟踪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!