Commit 584ac02a authored by Aurindam Jana's avatar Aurindam Jana Committed by hjk
Browse files

Debugging: Context Menu check for Watch Point Capability

Change-Id: I5b8d00c85f3857520757ccfd1a6007a5c2a1c50f
Reviewed-by: default avatarhjk <>
parent 720eb1df
......@@ -743,7 +743,8 @@ void WatchWindow::contextMenuEvent(QContextMenuEvent *ev)
"to stop when the data at the address is modified."));
QAction *actSetWatchpointAtExpression = 0;
if (name.isEmpty()) {
const bool canSetWatchpointAtExpression = engineCapabilities & WatchpointByExpressionCapability;
if (name.isEmpty() || !canSetWatchpointAtExpression) {
actSetWatchpointAtExpression =
new QAction(tr("Add Data Breakpoint at Expression"),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment