forked from qt-creator/qt-creator
Docker: mount python dumpers to device
Change-Id: Ic0d67b4a18247439f5797a0dcf74df945ef6f61e Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -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});
|
||||
|
||||
Reference in New Issue
Block a user