[lldb-dev] Accessing attached process environment variables with SBAPI

2022-01-28 Thread Ivan Hernandez via lldb-dev
Hi all, I'm trying to read the value of an environment variable that a process was launched with but to which lldb attached to after it launched. SBEnvironment looked interesting but I tried using ``` script print(lldb.debugger.GetSelectedTarget().GetEnvironment().Get("PRINT_ME") ``` and that prin

Re: [lldb-dev] Is DBGSearchPaths supported for configuring dSYM lookups?

2021-02-18 Thread Ivan Hernandez via lldb-dev
a directory that isn't > indexed by spotlight, then have a script that ends up chopping up your UUID > into 4 byte hex values as specified in File Mapped UUID Directories > <https://lldb.llvm.org/use/symbols.html#id3> page. This allows direct > access for looking up symbol files whe

[lldb-dev] Is DBGSearchPaths supported for configuring dSYM lookups?

2021-02-11 Thread Ivan Hernandez via lldb-dev
Hello, I am in need of configuring dSYM lookups on macOS for a directory under ~/Library/Caches which is not indexed by Spotlight and does not seem to be picked up when adding my directory to DBGSpotlightPaths. The Symbols on macOS page includes "Explicit s