Commit b15853e3 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Debugger: Fix debugger command line startup.

Protect against session changes at startup.
Reviewed-by: hjk
parent cfbd8463
......@@ -1239,8 +1239,12 @@ void DebuggerManager::sessionLoaded()
void DebuggerManager::aboutToUnloadSession()
if (d->m_engine)
// Stop debugging the active project when switching sessions.
// Note that at startup, session switches may occur, which interfer
// with command-line debugging startup.
if (d->m_engine && state() != DebuggerNotReady
&& d->m_startParameters->startMode == StartInternal)
void DebuggerManager::aboutToSaveSession()
Supports Markdown
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