Stepping through the code is stopping on STL code when debugging c++ with Xcode 4.5

前端 未结 2 1536
梦毁少年i
梦毁少年i 2020-12-19 12:01

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 e

2条回答
  •  旧时难觅i
    2020-12-19 12:15

    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).

提交回复
热议问题