Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment