Update: Based on the answer given by Jason Molenda, I realize that the settings command isn't the issue at all - it is being read properly and has the correct value, and yet breakpoints still aren't resolved. I've changed the topic name to more accurately fit the problem.
Summary of problem: I include cpp files, Xcode can't resolve them when setting breakpoints using the gutter, application is built externally (not developed in Xcode), and my .lldbinit already has settings set target.inline-breakpoint-strategy always set.
Previous version: My issue is that I cannot get Xcode's debugger to break at breakpoints in included .cpp files (from an externally built application, just trying to use Xcode as the debugger).
I found that the answer is to add the following to the .lldbinit file:
settings set target.inline-breakpoint-strategy always
And I did. It doesn't seem to be read at all and doesn't change anything. When running the command myself using:
command source ~/.lldbinit
It tells me:
-bash: settings: command not found
I do not understand why it can't figure out the 'settings' command. I'll add that I have very little knowledge of how this file is supposed to work, but I see this command used in many lldbinit files without issue.
I searched for information about this and Google gives me absolutely nothing even a little bit related to it, no matter how I search.
Other notes:
-Application is built with debug information.
-To set up Xcode, I created an empty project, set a new scheme's executable to debug to the one I built, and added code folder references for code browsing.
-I add breakpoints using the Xcode gutter.
-I'm using MacOS 10.12 - Sierra, not Linux, and Xcode 8.2.1.
-If I run LLDB through the command line and set breakpoints using: b filename.cpp:line, everything works fine. This is true even despite the 'settings: command not found' error I get when running manually. But it never works in Xcode's visual debugger. Perhaps I'm being misled by this error?
-Breakpoints work fine in the base .cpp file that includes the others, but not in any included ones.
Thanks for any help.