forked from qt-creator/qt-creator
debugger: make DebuggerEngine::acceptsBreakpoint(id) pure
This commit is contained in:
@@ -242,7 +242,7 @@ void QmlCppEngine::attemptBreakpointSynchronization()
|
||||
static_cast<DebuggerEngine*>(d->m_qmlEngine)->attemptBreakpointSynchronization();
|
||||
}
|
||||
|
||||
bool QmlCppEngine::acceptsBreakpoint(BreakpointId id)
|
||||
bool QmlCppEngine::acceptsBreakpoint(BreakpointId id) const
|
||||
{
|
||||
return d->m_cppEngine->acceptsBreakpoint(id)
|
||||
|| d->m_qmlEngine->acceptsBreakpoint(id);
|
||||
|
||||
@@ -56,10 +56,10 @@ public:
|
||||
virtual void updateAll();
|
||||
|
||||
virtual void attemptBreakpointSynchronization();
|
||||
virtual bool acceptsBreakpoint(BreakpointId id);
|
||||
virtual bool acceptsBreakpoint(BreakpointId id) const;
|
||||
virtual void selectThread(int index);
|
||||
|
||||
virtual void assignValueInDebugger(const Internal::WatchData *w,
|
||||
virtual void assignValueInDebugger(const Internal::WatchData *data,
|
||||
const QString &expr, const QVariant &value);
|
||||
|
||||
QAbstractItemModel *modulesModel() const;
|
||||
|
||||
@@ -494,7 +494,7 @@ void QmlEngine::attemptBreakpointSynchronization()
|
||||
sendMessage(reply);
|
||||
}
|
||||
|
||||
bool QmlEngine::acceptsBreakpoint(BreakpointId id)
|
||||
bool QmlEngine::acceptsBreakpoint(BreakpointId id) const
|
||||
{
|
||||
const QString fileName = breakHandler()->fileName(id);
|
||||
return fileName.endsWith(QLatin1String(".qml"))
|
||||
|
||||
@@ -93,7 +93,7 @@ private:
|
||||
void selectThread(int index);
|
||||
|
||||
void attemptBreakpointSynchronization();
|
||||
bool acceptsBreakpoint(BreakpointId id);
|
||||
bool acceptsBreakpoint(BreakpointId id) const;
|
||||
|
||||
void assignValueInDebugger(const Internal::WatchData *data,
|
||||
const QString &expr, const QVariant &value);
|
||||
|
||||
Reference in New Issue
Block a user