[Lldb-commits] [lldb] [lldb-dap][vscode][windows] check if Python is installed properly before starting lldb-dap (PR #181124)
Sergei Druzhkov via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 29 05:50:42 PDT 2026
================
@@ -59,6 +60,22 @@ export class LLDBDapServer implements vscode.Disposable {
return this.serverInfo;
}
+ if (os.platform() === "win32") {
+ const pythonCheckProcess = child_process.spawnSync(dapPath, [
+ "--check-python",
+ ]);
+ if (pythonCheckProcess.status !== 0) {
+ await vscode.window.showErrorMessage(
+ "Python is not installed correctly. Please install it to use lldb-dap.",
----------------
DrSergei wrote:
It would be nice to have link to documentation about how to install python for LLDB
https://github.com/llvm/llvm-project/pull/181124
More information about the lldb-commits
mailing list