diff --git a/src/plugins/debugger/debuggermanager.cpp b/src/plugins/debugger/debuggermanager.cpp index 238641a4db7bde1c378264a04c89bce14599910f..104d380a5d9b227a7699ad7cedad0e9095f1f137 100644 --- a/src/plugins/debugger/debuggermanager.cpp +++ b/src/plugins/debugger/debuggermanager.cpp @@ -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);