Debugger: Provide a startup customization hook for 3rd party plugins

Change-Id: Ia587abcb1bdcdfbf192d3314610ec9addf370c9b
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
hjk
2017-01-20 09:38:59 +01:00
parent 7beb5d5c24
commit 66b19f334d
5 changed files with 12 additions and 2 deletions

View File

@@ -307,7 +307,7 @@ void LldbEngine::startLldbStage2()
m_lldbProc.write("script print(dir())\n");
m_lldbProc.write("script theDumper = Dumper()\n"); // This triggers reportState("enginesetupok")
const QString commands = expand(stringSetting(GdbStartupCommands));
const QString commands = nativeStartupCommands();
if (!commands.isEmpty())
m_lldbProc.write(commands.toLocal8Bit() + '\n');
}