[Lldb-commits] [lldb] [lldb][windows] print an error if python.dll is not in the DLL search path (PR #164893)
Charles Zablit via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 23 14:07:09 PDT 2025
charles-zablit wrote:
I'm debating if, when `SearchPathW` fails to find `python.dll`, we should exit or let lldb crash.
Right now, the error looks like this and I think it's lost in the details of the crash. Gracefully exiting would allow to just have the error message without the stack dump which I think is a better user experience.
<img width="1301" height="373" alt="Screenshot 2025-10-23 at 14 04 58" src="https://github.com/user-attachments/assets/b68b0bcf-d519-4b35-8dd2-3770a1c85813" />
However, I don't want to prevent lldb from starting if we think `python.dll` is not available, even though it is.
https://github.com/llvm/llvm-project/pull/164893
More information about the lldb-commits
mailing list