如何在 XCode 4 中展开堆栈跟踪
XCode 4 有一个非常愚蠢的功能,它通过显示调用堆栈中的第一个和最后两个项目来“汇总”调试器中的堆栈跟踪。有谁知道如何消除虚线并显示有用的信息?
XCode 4 has a really stupid feature that "summarizes" stack traces in the debugger by showing the first and last two items in the call stack. Does anyone know how to eliminate the dotted line and show the useful information?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您想查看整个堆栈跟踪,请将调试导航器左下角(堆栈跟踪下方)的滑块一直拖动到右侧。
不过,它不仅仅是显示前两个和最后一个。相反,它显示堆栈的顶部和底部,以及来自应用程序的任何代码。假设您通常不关心系统框架的内部结构。您可以调整滑块以获得不同级别的细节。
If you want to see the entire stack trace, drag the slider at the bottom left of the debug navigator (below the stack traces) all the way to the right.
It's not simply showing the first two and the last one, though. Rather, it's showing the top and bottom of the stack, as well as any code that comes from your application. The assumption is that you often don't care about the internals of system frameworks. You can adjust the slider to get varying levels of detail.