From 5b28043d462824c4702feaff393172c87582f776 Mon Sep 17 00:00:00 2001 From: Friedemann Kleint Date: Wed, 29 Nov 2023 15:16:08 +0100 Subject: [PATCH] pdb: Fix duplication of command line arguments They are already added by the Python run configuration. Change-Id: Icfea32e00209a690901cf672a17a8ef5c23b909d Reviewed-by: Christian Stenger --- src/plugins/debugger/debuggerruncontrol.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/plugins/debugger/debuggerruncontrol.cpp b/src/plugins/debugger/debuggerruncontrol.cpp index a12c8cec40d..5bdfb8c60a7 100644 --- a/src/plugins/debugger/debuggerruncontrol.cpp +++ b/src/plugins/debugger/debuggerruncontrol.cpp @@ -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()) - m_runParameters.inferior.command.addArgs(args->arguments, CommandLine::Raw); if (runControl->runMode() == ProjectExplorer::Constants::DEBUG_RUN_MODE) m_engine = createPdbEngine(); }