Commit 9f82bc25 authored by hjk's avatar hjk Committed by hjk
Browse files

debugger: allow insertion of evaluated expressions for core files

Task-number: QTCREATORBUG-5693
Change-Id: I8b6a5e0cd7956dab92270cae8994da3303fcf8e9

Reviewed-by: default avatarhjk <>
parent fe6bbc29
......@@ -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;
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