Docker: mount python dumpers to device

Change-Id: Ic0d67b4a18247439f5797a0dcf74df945ef6f61e
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
David Schulz
2021-10-18 09:44:10 +02:00
parent 6f26a1545c
commit 12bc192422
9 changed files with 28 additions and 7 deletions

View File

@@ -2753,7 +2753,7 @@ void CdbEngine::setupScripting(const DebuggerResponse &response)
return;
}
QString dumperPath = Core::ICore::resourcePath("debugger").toUserOutput();
QString dumperPath = runParameters().dumperPath.toUserOutput();
dumperPath.replace('\\', "\\\\");
runCommand({"sys.path.insert(1, '" + dumperPath + "')", ScriptCommand});
runCommand({"from cdbbridge import Dumper", ScriptCommand});