forked from qt-creator/qt-creator
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:
@@ -481,7 +481,8 @@ void DebuggerRunTool::start()
|
||||
|
||||
runControl()->setDisplayName(m_runParameters.displayName);
|
||||
|
||||
m_engine = createDapEngine(runControl()->runMode());
|
||||
if (!m_engine)
|
||||
m_engine = createDapEngine(runControl()->runMode());
|
||||
|
||||
if (!m_engine) {
|
||||
if (m_runParameters.isCppDebugging()) {
|
||||
|
Reference in New Issue
Block a user