diff --git a/src/plugins/debugger/watchwindow.cpp b/src/plugins/debugger/watchwindow.cpp
index ef90e1bfcf8c5671edd077dc0d93b0eece965f69..28bef18d5c447804f26c57aaf92db7859671e797 100644
--- a/src/plugins/debugger/watchwindow.cpp
+++ b/src/plugins/debugger/watchwindow.cpp
@@ -736,9 +736,17 @@ void WatchWindow::contextMenuEvent(QContextMenuEvent *ev)
         tr("Setting a data breakpoint on an address will cause the program "
            "to stop when the data at the address is modified."));
 
-    QAction *actSetWatchpointAtExpression =
+    QAction *actSetWatchpointAtExpression = 0;
+    if (name.isEmpty()) {
+        actSetWatchpointAtExpression =
+            new QAction(tr("Add Data Breakpoint at Expression"),
+                &breakpointMenu);
+        actSetWatchpointAtExpression->setEnabled(false);
+    } else {
+        actSetWatchpointAtExpression =
             new QAction(tr("Add Data Breakpoint at Expression \"%1\"").arg(name),
                 &breakpointMenu);
+    }
     actSetWatchpointAtExpression->setToolTip(
         tr("Setting a data breakpoint on an expression will cause the program "
            "to stop when the data at the address given by the expression "