I want to configure project-specific .lldbinit files so that "everything" is versioned and easily configured on new computers. However, it seems to me that I can only read the ~ / .lldbinit file , not the ~ / git / project / .lldbinit files.
LLDB management will say:
lldb will read settings / aliases / commands from three files at startup, if they exist.
First , he will read the batch file ~ / .lldbinit-debugger. If you're using the lldb command line interface, this is ~ / .lldbinit-lldb. if you use lldb inside a GUI debugger such as Xcode, it will be ~ / .lldbinit- Xcode. This is a useful place to set parameters that you only want to apply when using the lldb command interpreter.
Second , ~ / .lldbinit is read.
Third , the .lldbinit file in the current working directory (where lldb is running).
So my question is: how do I configure Xcode or a project to use the "third" option, that is, read the .lldbinit file from the current working directory? How can I check or change what Xcode is "current working directory"?
source share