forked from qt-creator/qt-creator
Debugger: Allow watching complex expression for QML
Latest restructuring made the 'Add Expression Evaluator' action to a no-op when not debugging. Reflect this by disabling the action as long the user is not debugging and allow complex expressions to be evaluated for QML as well. Fixes: QTCREATORBUG-19050 Change-Id: I2d6421a121e2169981b992a617f4d2b7264a8091 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -962,7 +962,8 @@ bool QmlEngine::hasCapability(unsigned cap) const
|
||||
{
|
||||
return cap & (AddWatcherCapability
|
||||
| AddWatcherWhileRunningCapability
|
||||
| RunToLineCapability);
|
||||
| RunToLineCapability
|
||||
| WatchComplexExpressionsCapability);
|
||||
/*ReverseSteppingCapability | SnapshotCapability
|
||||
| AutoDerefPointersCapability | DisassemblerCapability
|
||||
| RegisterCapability | ShowMemoryCapability
|
||||
|
||||
Reference in New Issue
Block a user