LLDB equivalent of gdb “directory” command for specifying source search path?
问题 Looking for the lldb equivalent of the gdb \" directory \" command to add search paths for finding missing source code (or possibly similar functionality within xcode)? Thanks in advance! 回答1: The target.source-map setting allows you define a series of a => b path remappings in the debug session. It's not identical to the gdb dir command, which is a list of directories to search for source files by base name, but you can solve the same problems with source-map . Here's an example where I move