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:
@@ -237,9 +237,9 @@ void LldbEngine::setupEngine()
|
||||
|
||||
showStatusMessage(tr("Setting up inferior..."));
|
||||
|
||||
const QByteArray dumperSourcePath = ICore::resourcePath("debugger/").toString().toLocal8Bit();
|
||||
const DebuggerRunParameters &rp = runParameters();
|
||||
|
||||
executeCommand("script sys.path.insert(1, '" + dumperSourcePath + "')");
|
||||
executeCommand("script sys.path.insert(1, '" + rp.dumperPath.path().toLocal8Bit() + "')");
|
||||
// This triggers reportState("enginesetupok") or "enginesetupfailed":
|
||||
executeCommand("script from lldbbridge import *");
|
||||
|
||||
@@ -268,8 +268,6 @@ void LldbEngine::setupEngine()
|
||||
};
|
||||
runCommand(cmd1);
|
||||
|
||||
const DebuggerRunParameters &rp = runParameters();
|
||||
|
||||
const SourcePathMap sourcePathMap =
|
||||
mergePlatformQtPath(rp, debuggerSettings()->sourcePathMap.value());
|
||||
for (auto it = sourcePathMap.constBegin(), cend = sourcePathMap.constEnd();
|
||||
|
||||
Reference in New Issue
Block a user