diff options
author | con <[email protected]> | 2009-06-16 14:58:28 +0200 |
---|---|---|
committer | con <[email protected]> | 2009-06-16 14:58:28 +0200 |
commit | 4f4f767b2b4e7a27096e5d260d3991811bd17b47 (patch) | |
tree | 43ee2a5c129753ebd5574c8c1a1f86aca83066ec /src/plugins/debugger/debuggerplugin.cpp | |
parent | 7594cc5a41f272f47b62f2a5c944fb06f630c309 (diff) | |
parent | aa2836f1dc9e5942ad65ac445d09a87372430ecf (diff) |
Merge commit 'origin/1.2'
Diffstat (limited to 'src/plugins/debugger/debuggerplugin.cpp')
-rw-r--r-- | src/plugins/debugger/debuggerplugin.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/debugger/debuggerplugin.cpp b/src/plugins/debugger/debuggerplugin.cpp index edb1d9986ff..e4f90707f61 100644 --- a/src/plugins/debugger/debuggerplugin.cpp +++ b/src/plugins/debugger/debuggerplugin.cpp @@ -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(); |