Commit 3d30239a authored by hjk's avatar hjk
Browse files

debugger: fix soft assertion when "operate by instruction" was toggle without

a valid stack trace.
parent ca6f7352
......@@ -1473,6 +1473,8 @@ void DebuggerManager::fileOpen(const QString &fileName)
void DebuggerManager::operateByInstructionTriggered()
{
if (!d->m_engine)
return;
QTC_ASSERT(d->m_stackHandler, return);
StackFrame frame = d->m_stackHandler->currentFrame();
gotoLocation(frame, true);
......
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