diff options
author | hjk <qtc-committer@nokia.com> | 2011-08-03 12:40:28 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@nokia.com> | 2011-08-04 09:12:50 +0200 |
commit | ac86633aba87899e630794072c8f9f6a4361088c (patch) | |
tree | ac8542092d6efa433d59b4f980f54ef127b7cc15 | |
parent | 1958940b029a7ea55d3ad870e87c23dc4b2e0802 (diff) |
debugger: allow insertion of evaluated expressions for core files
Task-number: QTCREATORBUG-5693
Change-Id: I8b6a5e0cd7956dab92270cae8994da3303fcf8e0
(cherry picked from commit 9f82bc25a4d0a8e33cb9f984b7786f617a3f66f2)
Reviewed-on: http://codereview.qt.nokia.com/2575
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Eike Ziller <eike.ziller@nokia.com>
-rw-r--r-- | src/plugins/debugger/watchwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/debugger/watchwindow.cpp b/src/plugins/debugger/watchwindow.cpp index 51eabe54ba..10d404dea3 100644 --- a/src/plugins/debugger/watchwindow.cpp +++ b/src/plugins/debugger/watchwindow.cpp @@ -706,6 +706,7 @@ void WatchWindow::contextMenuEvent(QContextMenuEvent *ev) const bool canHandleWatches = engineCapabilities & AddWatcherCapability; const DebuggerState state = engine->state(); const bool canInsertWatches = state == InferiorStopOk + || state == InferiorUnrunnable || (state == InferiorRunOk && engine->acceptsWatchesWhileRunning()); QMenu breakpointMenu; |