LLDB: Set environment for debugged process

Task-number: QTCREATORBUG-10030

Change-Id: Ib487cee704ea30f52c52f6f025823637fa4199eb
Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
Eike Ziller
2013-10-20 21:45:47 +02:00
committed by hjk
parent e7c51ebd05
commit 51a257637e
2 changed files with 4 additions and 0 deletions

View File

@@ -151,6 +151,8 @@ void LldbEngine::setupEngine()
args.append(Core::ICore::resourcePath() + _("/debugger/lldbbridge.py"));
args.append(m_lldbCmd);
showMessage(_("STARTING LLDB ") + args.join(QLatin1String(" ")));
m_lldbProc.setEnvironment(startParameters().environment.toStringList());
m_lldbProc.start(_("python"), args);
if (!m_lldbProc.waitForStarted()) {