Introduced capabilities for OperateByInstruction and RunToLine

The ScriptEngine does not support these actions, so make sure they are
disabled in the debugger menu.

Reviewed-by: hjk
Task-number: QTCREATORBUG-2749
This commit is contained in:
Thorbjørn Lindeijer
2011-04-01 19:47:39 +02:00
parent e1f89cfaf9
commit a547aee827
4 changed files with 21 additions and 12 deletions

View File

@@ -1890,7 +1890,9 @@ unsigned GdbEngine::debuggerCapabilities() const
| WatchpointByExpressionCapability
| AddWatcherCapability
| ShowModuleSymbolsCapability
| CatchCapability;
| CatchCapability
| OperateByInstructionCapability
| RunToLineCapability;
if (startParameters().startMode == AttachCore)
return caps;