Commit 87e0e925 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Debugger: Disable "Operate by instruction" when running.

Preventing an the stack handler asserting on invalid
index when requesting disassembling.
Task-number: QTCREATORBUG-1173
Acked-by: hjk
parent f069f1a6
......@@ -1804,6 +1804,8 @@ void DebuggerManager::setState(DebuggerState state, bool forced)
setEnabled(stopped && (engineCapabilities & SnapshotCapability));
const bool interruptIsExit = !running;
if (interruptIsExit) {
Supports Markdown
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