Commit c760cbd2 authored by hjk's avatar hjk

Debugger: Do not merge pdb arguments into a single one

Change-Id: I998d663e1fced1da10e7b3d4489db26eb244fe2b
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 6406fd36
...@@ -449,8 +449,11 @@ void DebuggerRunControlCreator::enrich(const RunConfiguration *runConfig, const ...@@ -449,8 +449,11 @@ void DebuggerRunControlCreator::enrich(const RunConfiguration *runConfig, const
m_rp.mainScript = mainScript; m_rp.mainScript = mainScript;
m_rp.interpreter = interpreter; m_rp.interpreter = interpreter;
QString args = runConfig->property("arguments").toString(); QString args = runConfig->property("arguments").toString();
if (!args.isEmpty()) if (!args.isEmpty()) {
QtcProcess::addArg(&m_rp.processArgs, args); if (!m_rp.processArgs.isEmpty())
m_rp.processArgs.append(QLatin1Char(' '));
m_rp.processArgs.append(args);
}
m_rp.masterEngineType = PdbEngineType; m_rp.masterEngineType = PdbEngineType;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment