如何快速检查Xcode 4.6.x中任意变量的值? [英] How do I quickly inspect the value of an arbitrary variable in Xcode 4.6.x?

查看:155
本文介绍了如何快速检查Xcode 4.6.x中任意变量的值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

似乎相当广泛地承认,在Xcode 4.6.x 中使用 po 命令很慢。检查在编译时未指定的任意变量的值的选项(排除使用 NSLog()),这些值不需要> 15秒?

It seems reasonably widely acknowledged that it is slow to use the po command in Xcode 4.6.x. What are the options for inspecting the values of arbitrary variables unspecified at compile time (which rules out usage of NSLog()) which don't take > 15s?

推荐答案

结果答案很简单:下载Xcode 4.6.2其中LLDB的调试速度有了显着的提升。请注意此处的一些讨论

Turns out the answer is pretty simple: download Xcode 4.6.2 where LLDB debugging speed has been increased significantly. Note some discussion over here

这篇关于如何快速检查Xcode 4.6.x中任意变量的值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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