Xcode 7 Debugger Does Not Interrupt Inline Header Functions

I have been using Xcode with various C ++ projects for the past five years without this problem. Today I opened one of my old projects (~ 2 years) and tried to debug the built-in function in the header file by placing the active breakpoint in this function. For some reason, the debugger will not break this code. However, if I put a breakpoint in the .cpp file where this function is called, I can go into each line of the function and through it. Then I noticed that this happens for all the (built-in) functions defined in the header files.

I have never had this problem before. I have other, similar, projects that do not exhibit this behavior - breakpoints work everywhere.

I believe Xcode uses LLDB as a debugger - where would I start looking for a project setting that might cause this?

I do not have corresponding compiler warnings when creating.

I can "upgrade to the recommended settings" when opening an old project in a new Xcode - maybe this has changed something related, although I'm not sure what. I updated other projects and did not have this problem.

I am using Xcode 7 on El Capitan.

+2
source share
1 answer

It worked! finally, this Apple Developer Thread contained a solution: manually set a breakpoint from the debugger prompt:

(lldb) br s --file framework.ipp --line 577 

, , Xcode ( 8.3, 4, 5, 6 7) . , .

+1

All Articles