Commit 70efac97 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

assert correct state

parent 3aa358de
......@@ -50,7 +50,7 @@ AbstractGdbAdapter::~AbstractGdbAdapter()
// This cannot be in the c'tor, as it would not connect the "virtual" slots
void AbstractGdbAdapter::commonInit()
QTC_ASSERT(state() == DebuggerNotReady, qDebug() << state());
QTC_ASSERT(state() == EngineStarting, qDebug() << state());
connect(&m_gdbProc, SIGNAL(error(QProcess::ProcessError)),
this, SLOT(handleGdbError(QProcess::ProcessError)));
connect(&m_gdbProc, SIGNAL(started()),
Supports Markdown
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