forked from qt-creator/qt-creator
pdb: Fix duplication of command line arguments
They are already added by the Python run configuration. Change-Id: Icfea32e00209a690901cf672a17a8ef5c23b909d Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -915,8 +915,6 @@ DebuggerRunTool::DebuggerRunTool(RunControl *runControl, AllowTerminal allowTerm
|
||||
if (!interpreter.isEmpty() && mainScript.endsWith(".py")) {
|
||||
m_runParameters.mainScript = mainScript;
|
||||
m_runParameters.interpreter = interpreter;
|
||||
if (auto args = runControl->aspect<ArgumentsAspect>())
|
||||
m_runParameters.inferior.command.addArgs(args->arguments, CommandLine::Raw);
|
||||
if (runControl->runMode() == ProjectExplorer::Constants::DEBUG_RUN_MODE)
|
||||
m_engine = createPdbEngine();
|
||||
}
|
||||
|
Reference in New Issue
Block a user