forked from qt-creator/qt-creator
debugger: allow insertion of evaluated expressions for core files
Task-number: QTCREATORBUG-5693 Change-Id: I8b6a5e0cd7956dab92270cae8994da3303fcf8e9 Reviewed-on: http://codereview.qt.nokia.com/2558 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user