[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
Wed Apr 29 04:24:54 PDT 2026
================
@@ -60,6 +61,15 @@ export class LLDBDapServer implements vscode.Disposable {
}
this.serverInfo = new Promise((resolve, reject) => {
+ if (os.platform() === "win32") {
+ const pythonCheckProcess = child_process.spawnSync(dapPath, ["--check-python"]);
----------------
charles-zablit wrote:
> Does it work correctly, if I build lldb-dap without Python support intentionally
It does now, the `--check-python` command returns 0 if python support was not enabled at build time.
https://github.com/llvm/llvm-project/pull/181124
More information about the lldb-commits
mailing list