teemperor added a comment.

In D89295#2327367 <https://reviews.llvm.org/D89295#2327367>, @labath wrote:

> What exactly is the use case for this?

Xcode running a project-specific lldbinit file but users can't specify a 
`command script import relative/path/script.py` as the CWD for the 
lldb-rpc-server is `/`. This makes it impossible to check in custom LLDB Python 
scripts to an Xcode project that are loaded for all developers (as one can only 
specify the full path to the Python script).

I'm not sure if this patch is actually solving the problem. Now all devs need 
to have the project in the same path relative to their home directory.

I think we could solve this by having Xcode set the CWD to the project's source 
dir or we add the directories of .lldbinit files to Python's sys.path.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D89295/new/

https://reviews.llvm.org/D89295

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to