forked from qt-creator/qt-creator
Debugger: Allow continuing debugging when switching projects.
Change-Id: If99fc8dc7697eaef50ea7bf7656c0ce788201679 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -1547,6 +1547,11 @@ void DebuggerPluginPrivate::onCurrentProjectChanged(Project *project)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// If we have a running debugger, don't touch it.
|
||||
if (m_snapshotHandler->size())
|
||||
return;
|
||||
|
||||
// No corresponding debugger found. So we are ready to start one.
|
||||
m_interruptAction->setEnabled(false);
|
||||
m_continueAction->setEnabled(false);
|
||||
|
Reference in New Issue
Block a user