forked from qt-creator/qt-creator
Debugger: Remove state check on cdb interrupt.
When breakpoints are inserted we are also calling this function, but the state isn't set to InferiorStopRequested. Change-Id: If448e7596c9c08cebdc8b2ed5b23df0e232fd817 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
@@ -1198,7 +1198,6 @@ void CdbEngine::doInterruptInferior(SpecialStopMode sm)
|
||||
{
|
||||
showMessage(QString::fromLatin1("Interrupting process %1...").arg(inferiorPid()), LogMisc);
|
||||
|
||||
QTC_ASSERT(state() == InferiorStopRequested, qDebug() << state(); notifyInferiorStopFailed(); return;);
|
||||
QTC_ASSERT(!m_signalOperation, notifyInferiorStopFailed(); return;);
|
||||
m_signalOperation = startParameters().device->signalOperation();
|
||||
m_specialStopMode = sm;
|
||||
|
||||
Reference in New Issue
Block a user