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.