Python: fix pdb debugging

The pdb engine is created in the DebuggerRunTool constructor so we
cannot unconditionally overwrite the engine in DebuggerRunTool::start.

Amends 9af8ecd935

Change-Id: I0c3c88d14235bfb01543da788a7bb5e7e99018d3
Reviewed-by: Artem Sokolovskii <artem.sokolovskii@qt.io>
This commit is contained in:
David Schulz
2023-11-21 11:03:19 +01:00
parent 4f9cf826d6
commit 72a8e2e644

View File

@@ -481,6 +481,7 @@ void DebuggerRunTool::start()
runControl()->setDisplayName(m_runParameters.displayName);
if (!m_engine)
m_engine = createDapEngine(runControl()->runMode());
if (!m_engine) {