forked from qt-creator/qt-creator
debugger: replace static capability check by something potentially dynamic
This does not yet use the potential. Change-Id: I087311fb7d59b46e49f65a84c4420c72a1227ebb Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
This commit is contained in:
@@ -780,11 +780,11 @@ void QmlEngine::synchronizeWatchers()
|
||||
}
|
||||
}
|
||||
|
||||
unsigned QmlEngine::debuggerCapabilities() const
|
||||
bool QmlEngine::hasCapability(unsigned cap) const
|
||||
{
|
||||
return AddWatcherCapability
|
||||
return cap & (AddWatcherCapability
|
||||
| AddWatcherWhileRunningCapability
|
||||
| RunToLineCapability;
|
||||
| RunToLineCapability);
|
||||
/*ReverseSteppingCapability | SnapshotCapability
|
||||
| AutoDerefPointersCapability | DisassemblerCapability
|
||||
| RegisterCapability | ShowMemoryCapability
|
||||
|
||||
Reference in New Issue
Block a user