Commit 37add8b5 authored by hjk's avatar hjk
Browse files

debugger: suppress debug output for known state changes triggered by initialization

parent 10fa3b2b
......@@ -1608,7 +1608,8 @@ void DebuggerManager::setState(DebuggerState state)
QString msg = _("State changed from %1(%2) to %3(%4).")
.arg(stateName(d->m_state)).arg(d->m_state).arg(stateName(state)).arg(state);
qDebug() << msg;
if (!((d->m_state == -1 && state == 0) || (d->m_state == 0 && state == 0)))
qDebug() << msg << d->m_state << state;
if (!isAllowedTransition(d->m_state, state))
qDebug() << "UNEXPECTED STATE TRANSITION: " << msg;
......
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