Fixes: debugger: fix assert includes

This commit is contained in:
hjk
2009-02-17 11:16:23 +01:00
parent 30f0f63002
commit 3cd4e39872
6 changed files with 11 additions and 7 deletions

View File

@@ -1,10 +1,11 @@
#include "cdbdebugengine.h"
#include "assert.h"
#include "debuggermanager.h"
#include "breakhandler.h"
#include "stackhandler.h"
#include <utils/qtcassert.h>
#include <QDebug>
#include <QTimerEvent>
#include <QFileInfo>
@@ -271,7 +272,7 @@ void CdbDebugEngine::activateFrame(int frameIndex)
//qDebug() << "ACTIVATE FRAME: " << frameIndex << oldIndex
// << stackHandler->currentIndex();
QWB_ASSERT(frameIndex < stackHandler->stackSize(), return);
QTC_ASSERT(frameIndex < stackHandler->stackSize(), return);
if (oldIndex != frameIndex) {
stackHandler->setCurrentIndex(frameIndex);

View File

@@ -33,7 +33,7 @@
#include "disassemblerhandler.h"
#include "assert.h"
#include <utils/qtcassert.h>
#include <QtCore/QDebug>
#include <QtCore/QAbstractTableModel>

View File

@@ -33,7 +33,7 @@
#include "moduleshandler.h"
#include "assert.h"
#include <utils/qtcassert.h>
#include <QtCore/QDebug>
#include <QtCore/QDir>

View File

@@ -33,9 +33,10 @@
#include "registerhandler.h"
#include "assert.h"
#include "debuggerconstants.h"
#include <utils/qtcassert.h>
#include <QtCore/QAbstractTableModel>
#include <QtCore/QDebug>

View File

@@ -33,9 +33,10 @@
#include "stackwindow.h"
#include "assert.h"
#include "stackhandler.h"
#include <utils/qtcassert.h>
#include <QAction>
#include <QComboBox>
#include <QDebug>

View File

@@ -33,9 +33,10 @@
#include "threadswindow.h"
#include "assert.h"
#include "stackhandler.h"
#include <utils/qtcassert.h>
#include <QAction>
#include <QComboBox>
#include <QDebug>