debugger: move state change to EngineStarting into the base class

This commit is contained in:
hjk
2010-07-08 13:28:22 +02:00
parent c8fae11222
commit eab55aac6b
7 changed files with 7 additions and 9 deletions

View File

@@ -140,7 +140,7 @@ void PdbEngine::exitDebugger()
void PdbEngine::startDebugger()
{
setState(EngineStarting);
QTC_ASSERT(state() == EngineStarting, qDebug() << state());
m_scriptFileName = QFileInfo(startParameters().executable).absoluteFilePath();
QFile scriptFile(m_scriptFileName);