I try to debug c++ code with Xcode 4.5, compiled with llvm 4.1. The code is very simple, just inserting several items to a map.
When I step over STL functions, the execution stops inside STL code, instead of performing the step as usual.
When I compile using LLVM-GCC 4.2 the debug is just fine, but this compiler doesn’t have C++11 support.
Did anyone encounter this problem before, and knows if it can be fixed?
I can certainly experience the same issue since LLDB was introduced into Xcode. It seems it doesn’t properly handle stepping over inlined functions (see: Debugger steps deeper when trying to step out of C++11 std lib).
I’ve just submitted a bug report to Apple (ID 12588579), but I’m guessing it will take a couple of iterations before LLDB is completely ready to use in C++11 production code (it’s getting there, remember the version shipped with Xcode was not usable at all until 4.4).