forked from qt-creator/qt-creator
Debugger: Make LLDB startup user-configurable
... by reusing GDB startup command settings Task-number: QTCREATORBUG-15584 Change-Id: I24a04ac8608f0c37374ff9c1d93d509a811d8942 Reviewed-by: Alexandru Croitor <alexandru.croitor@theqtcompany.com> Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -283,6 +283,10 @@ void LldbEngine::startLldbStage2()
|
||||
m_lldbProc.write("script from lldbbridge import *\n");
|
||||
m_lldbProc.write("script print(dir())\n");
|
||||
m_lldbProc.write("script theDumper = Dumper()\n"); // This triggers reportState("enginesetupok")
|
||||
|
||||
const QString commands = expand(stringSetting(GdbStartupCommands));
|
||||
if (!commands.isEmpty())
|
||||
m_lldbProc.write(commands.toLocal8Bit());
|
||||
}
|
||||
|
||||
void LldbEngine::setupInferior()
|
||||
|
Reference in New Issue
Block a user