forked from qt-creator/qt-creator
Debbuger: Checking menu action if watchpoint is set
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
#include <texteditor/basetextmark.h>
|
||||
#include <utils/qtcassert.h>
|
||||
|
||||
#include <QtCore/QByteArray>
|
||||
#include <QtCore/QDebug>
|
||||
#include <QtCore/QTextStream>
|
||||
#include <QtCore/QFileInfo>
|
||||
@@ -416,6 +417,12 @@ BreakpointData *BreakHandler::findWatchPointByAddress(const QByteArray &a) const
|
||||
return 0;
|
||||
}
|
||||
|
||||
bool BreakHandler::watchPointAt(quint64 address) const
|
||||
{
|
||||
const QByteArray addressBA = QByteArray("0x") + QByteArray::number(address, 16);
|
||||
return findWatchPointByAddress(addressBA);
|
||||
}
|
||||
|
||||
void BreakHandler::saveBreakpoints()
|
||||
{
|
||||
QList<QVariant> list;
|
||||
|
||||
Reference in New Issue
Block a user