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