在Xcode 4.3.1中使用libc ++时,如何获得明智的变量显示? [英] How can I get sensible variable displays when using libc++ in Xcode 4.3.1?
问题描述
在这种情况下,世界上其他开发人员是如何在STL类型中获得体面的变量显示?还是没有人使用libc ++与Xcode / lldb?
此功能在Xcode 4.4中正常工作。 Xcode 4.3用户的最佳解决方案就是更新Xcode。
I'm using Xcode 4.3.1's C++11 language dialect along with libc++ as the standard library. The language support in this combination is amazing, but debugging is torture. Neither Xcode's "Summary Format" nor lldb's summary format features display any of the standard types (std::string, std::vector, etc.) with pretty printing. Writing a pretty printer for these types is highly non-trivial due to their complexity. (E.g., std::string is remarkably complex in libc++.)
How in the world are other developers getting decent variable displays for STL types in this situation? Or is no one else using libc++ with Xcode/lldb yet?
This feature works correctly in Xcode 4.4. The best solution for Xcode 4.3 users is simply to update Xcode.
这篇关于在Xcode 4.3.1中使用libc ++时,如何获得明智的变量显示?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!