I am trying to use Xcode (v6.3.2) to debug my C++ command line application. I have setup an external build target that calls `make` and successfully builds my application. I have also modified the Run scheme to run the built application and `"debug executable"` is checked and `"Build Configuration"` is set to `Debug`.
However, no matter what I do, I cannot get any breakpoint to trigger when I run. The application always runs successfully but just doesn't stop at any of the breakpoints.
This seems to be a very common issue and I have tried several of the suggestions that people have made over the years. One of the most common solutions I have read is to disable the "Load symbols lazily" setting under Preferences -> Debugging. However, this setting no longer seems to exist for the latest version of Xcode. I have also created an .lldbinit file with the setting as described at this URL: http://lldb.llvm.org/troubleshooting.html. The breakpoints are enabled.
In my `Makefile`, the compiler is `clang++` and the compiler flags are `-w -g -O0`.
`lldb` works just fine on the command line if I run it manually but I was hoping to be able to use Xcode and lldb together since that would make my workflow much more efficient.
Any help would be greatly appreciated.