[Lldb-commits] [lldb] [lldb-dap][vscode][windows] check if Python is installed properly before starting lldb-dap (PR #181124)

Charles Zablit via lldb-commits lldb-commits at lists.llvm.org
Tue May 5 03:07:36 PDT 2026


================
@@ -671,6 +668,10 @@ int main(int argc, char *argv[]) {
 
 #ifdef _WIN32
   if (input_args.hasArg(OPT_check_python)) {
+#ifndef LLDB_ENABLE_PYTHON
+    llvm::outs() << "lldb-dap was not built with Python support" << '\n';
----------------
charles-zablit wrote:

This would not have reached the typescript code anyways because `lldb-dap` returns 0, but `stderr` seems like a better fit for this message.

Fixed 👍 

https://github.com/llvm/llvm-project/pull/181124


More information about the lldb-commits mailing list