forked from qt-creator/qt-creator
Debugger: Do not merge pdb arguments into a single one
Change-Id: I998d663e1fced1da10e7b3d4489db26eb244fe2b Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -449,8 +449,11 @@ void DebuggerRunControlCreator::enrich(const RunConfiguration *runConfig, const
|
||||
m_rp.mainScript = mainScript;
|
||||
m_rp.interpreter = interpreter;
|
||||
QString args = runConfig->property("arguments").toString();
|
||||
if (!args.isEmpty())
|
||||
QtcProcess::addArg(&m_rp.processArgs, args);
|
||||
if (!args.isEmpty()) {
|
||||
if (!m_rp.processArgs.isEmpty())
|
||||
m_rp.processArgs.append(QLatin1Char(' '));
|
||||
m_rp.processArgs.append(args);
|
||||
}
|
||||
m_rp.masterEngineType = PdbEngineType;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user