Commit 2f3b010d authored by hjk's avatar hjk

debugger: fix recent regression in command line parsing

A -debug <pid> or -debug core=... wasn't properly handled anymore.

Change-Id: Ia976eccc0924e8e22168d8be35d7c24e1d566487
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 7f9e9d22
......@@ -1458,7 +1458,7 @@ bool DebuggerPluginPrivate::parseArgument(QStringList::const_iterator &it,
}
}
}
if (fillParameters(&sp, kit, errorMessage))
if (!fillParameters(&sp, kit, errorMessage))
return false;
if (sp.startMode == StartExternal) {
sp.displayName = tr("Executable file \"%1\"").arg(sp.executable);
......
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