From f84f430caf9704754a10d4747977b2729f40376b Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Tue, 9 Nov 2021 15:35:52 +0100 Subject: [PATCH] Debugger: Set "PYTHONHOME" for Androids lldb as native path The correct path separators in this case make the difference beween breaking on a breakpoint or not. Change-Id: Ia33682e559ffe172a571bec6b78b32fca14d98f5 Reviewed-by: Christian Stenger --- src/plugins/debugger/debuggeritem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/debugger/debuggeritem.cpp b/src/plugins/debugger/debuggeritem.cpp index 85206926fb8..687149193f0 100644 --- a/src/plugins/debugger/debuggeritem.cpp +++ b/src/plugins/debugger/debuggeritem.cpp @@ -273,7 +273,7 @@ bool DebuggerItem::addAndroidLldbPythonEnv(const Utils::FilePath &lldbCmd, Utils const FilePath pythonBinDir = HostOsInfo::isAnyUnixHost() ? pythonDir.pathAppended("bin") : pythonDir; if (pythonBinDir.exists()) { - env.set("PYTHONHOME", pythonDir.path()); + env.set("PYTHONHOME", pythonDir.toUserOutput()); env.prependOrSetPath(pythonBinDir.path()); return true; }