Skip to content
Snippets Groups Projects
Commit 70efac97 authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

assert correct state

parent 3aa358de
No related branches found
No related tags found
No related merge requests found
......@@ -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()),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment