Commit 9155e14d authored by hjk's avatar hjk

Debugger: Allow continuing debugging when switching projects.

Change-Id: If99fc8dc7697eaef50ea7bf7656c0ce788201679
Reviewed-by: default avatarhjk <hjk121@nokiamail.com>
parent 00ac1f89
......@@ -1547,6 +1547,11 @@ void DebuggerPluginPrivate::onCurrentProjectChanged(Project *project)
}
}
}
// If we have a running debugger, don't touch it.
if (m_snapshotHandler->size())
return;
// No corresponding debugger found. So we are ready to start one.
m_interruptAction->setEnabled(false);
m_continueAction->setEnabled(false);
......
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