Commit 661308c9 authored by hjk's avatar hjk
Browse files

debugger: always switch to frame 0 before trying to leave frame

parent 32243606
......@@ -1851,6 +1851,7 @@ void GdbEngine::executeStepI()
void GdbEngine::executeStepOut()
{
QTC_ASSERT(state() == InferiorStopped, qDebug() << state());
postCommand("-stack-select-frame 0");
setTokenBarrier();
setState(InferiorRunningRequested);
showStatusMessage(tr("Finish function requested..."), 5000);
......
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