forked from qt-creator/qt-creator
Fixes: debugger: fix assert includes
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
#include "cdbdebugengine.h"
|
#include "cdbdebugengine.h"
|
||||||
|
|
||||||
#include "assert.h"
|
|
||||||
#include "debuggermanager.h"
|
#include "debuggermanager.h"
|
||||||
#include "breakhandler.h"
|
#include "breakhandler.h"
|
||||||
#include "stackhandler.h"
|
#include "stackhandler.h"
|
||||||
|
|
||||||
|
#include <utils/qtcassert.h>
|
||||||
|
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
#include <QTimerEvent>
|
#include <QTimerEvent>
|
||||||
#include <QFileInfo>
|
#include <QFileInfo>
|
||||||
@@ -271,7 +272,7 @@ void CdbDebugEngine::activateFrame(int frameIndex)
|
|||||||
//qDebug() << "ACTIVATE FRAME: " << frameIndex << oldIndex
|
//qDebug() << "ACTIVATE FRAME: " << frameIndex << oldIndex
|
||||||
// << stackHandler->currentIndex();
|
// << stackHandler->currentIndex();
|
||||||
|
|
||||||
QWB_ASSERT(frameIndex < stackHandler->stackSize(), return);
|
QTC_ASSERT(frameIndex < stackHandler->stackSize(), return);
|
||||||
|
|
||||||
if (oldIndex != frameIndex) {
|
if (oldIndex != frameIndex) {
|
||||||
stackHandler->setCurrentIndex(frameIndex);
|
stackHandler->setCurrentIndex(frameIndex);
|
||||||
|
@@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
#include "disassemblerhandler.h"
|
#include "disassemblerhandler.h"
|
||||||
|
|
||||||
#include "assert.h"
|
#include <utils/qtcassert.h>
|
||||||
|
|
||||||
#include <QtCore/QDebug>
|
#include <QtCore/QDebug>
|
||||||
#include <QtCore/QAbstractTableModel>
|
#include <QtCore/QAbstractTableModel>
|
||||||
|
@@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
#include "moduleshandler.h"
|
#include "moduleshandler.h"
|
||||||
|
|
||||||
#include "assert.h"
|
#include <utils/qtcassert.h>
|
||||||
|
|
||||||
#include <QtCore/QDebug>
|
#include <QtCore/QDebug>
|
||||||
#include <QtCore/QDir>
|
#include <QtCore/QDir>
|
||||||
|
@@ -33,9 +33,10 @@
|
|||||||
|
|
||||||
#include "registerhandler.h"
|
#include "registerhandler.h"
|
||||||
|
|
||||||
#include "assert.h"
|
|
||||||
#include "debuggerconstants.h"
|
#include "debuggerconstants.h"
|
||||||
|
|
||||||
|
#include <utils/qtcassert.h>
|
||||||
|
|
||||||
#include <QtCore/QAbstractTableModel>
|
#include <QtCore/QAbstractTableModel>
|
||||||
#include <QtCore/QDebug>
|
#include <QtCore/QDebug>
|
||||||
|
|
||||||
|
@@ -33,9 +33,10 @@
|
|||||||
|
|
||||||
#include "stackwindow.h"
|
#include "stackwindow.h"
|
||||||
|
|
||||||
#include "assert.h"
|
|
||||||
#include "stackhandler.h"
|
#include "stackhandler.h"
|
||||||
|
|
||||||
|
#include <utils/qtcassert.h>
|
||||||
|
|
||||||
#include <QAction>
|
#include <QAction>
|
||||||
#include <QComboBox>
|
#include <QComboBox>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
@@ -33,9 +33,10 @@
|
|||||||
|
|
||||||
#include "threadswindow.h"
|
#include "threadswindow.h"
|
||||||
|
|
||||||
#include "assert.h"
|
|
||||||
#include "stackhandler.h"
|
#include "stackhandler.h"
|
||||||
|
|
||||||
|
#include <utils/qtcassert.h>
|
||||||
|
|
||||||
#include <QAction>
|
#include <QAction>
|
||||||
#include <QComboBox>
|
#include <QComboBox>
|
||||||
#include <QDebug>
|
#include <QDebug>
|
||||||
|
Reference in New Issue
Block a user