如何在XCode 4中扩展堆栈跟踪 [英] How do I expand stack traces in XCode 4

查看:142
本文介绍了如何在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?

推荐答案

如果要查看整个堆栈跟踪,将调试导航器左下角的滑块(在堆栈轨迹下方)一直向右拖动。

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.

这篇关于如何在XCode 4中扩展堆栈跟踪的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆