forked from qt-creator/qt-creator
Debugger: Use QtcProcess instead of QProcess for LLDB
More similar to what GDB does. Change-Id: I2c5e952261119f04a515f8b8e79a66c397bff6df Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -253,11 +253,12 @@ void LldbEngine::startLldb()
|
||||
this, &LldbEngine::handleResponse, Qt::QueuedConnection);
|
||||
|
||||
showMessage(_("STARTING LLDB: ") + m_lldbCmd);
|
||||
m_lldbProc.setEnvironment(runParameters().environment.toStringList());
|
||||
m_lldbProc.setEnvironment(runParameters().environment);
|
||||
if (!runParameters().workingDirectory.isEmpty())
|
||||
m_lldbProc.setWorkingDirectory(runParameters().workingDirectory);
|
||||
|
||||
m_lldbProc.start(m_lldbCmd);
|
||||
m_lldbProc.setCommand(m_lldbCmd, QString());
|
||||
m_lldbProc.start();
|
||||
|
||||
if (!m_lldbProc.waitForStarted()) {
|
||||
const QString msg = tr("Unable to start LLDB \"%1\": %2")
|
||||
|
||||
Reference in New Issue
Block a user