Commit f46d3d73 authored by hjk's avatar hjk

Debugger: Remove two soft asserts

One can be triggered by regular operation, the other one is
effectively checked by the compiler.

Change-Id: I82613bbba26ccc947c2745dbde11e7ac89c1a468
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 90d26668
......@@ -1603,11 +1603,11 @@ void DebuggerEngine::attemptBreakpointSynchronization()
//qDebug() << "BREAKPOINT " << id << " IS GOOD";
continue;
case BreakpointDead:
// Should not only be visible inside BreakpointHandler.
QTC_CHECK(false);
// Can happen temporarily during Breakpoint destruction.
// BreakpointItem::deleteThis() intentionally lets the event loop run,
// during which an attemptBreakpointSynchronization() might kick in.
continue;
}
QTC_ASSERT(false, qDebug() << "UNKNOWN STATE" << bp.id() << state());
}
if (done) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment