Commit 86284e43 authored by Friedemann Kleint's avatar Friedemann Kleint

Fixed arguments glitch (ignore empty arguments).

parent e86e7f96
......@@ -1210,7 +1210,9 @@ void DebuggerPlugin::startExternalApplication()
setConfigValue(_("LastExternalExecutableArguments"),
dlg.executableArguments());
sp->executable = dlg.executableFile();
sp->processArgs = dlg.executableArguments().split(QLatin1Char(' '));
if (!dlg.executableArguments().isEmpty())
sp->processArgs = dlg.executableArguments().split(QLatin1Char(' '));
if (dlg.breakAtMain())
m_manager->breakByFunctionMain();
......
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