Commit 920880eb authored by hjk's avatar hjk
Browse files

debugger: fix crash on "recheck debugging helper" when not debugging

parent a360c65e
......@@ -1533,7 +1533,7 @@ void DebuggerManager::showQtDumperLibraryWarning(const QString &details)
DebuggerStartMode DebuggerManager::startMode() const
{
return m_runControl->startMode();
return m_runControl ? m_runControl->startMode() : NoStartMode;
}
void DebuggerManager::reloadFullStack()
......
......@@ -118,6 +118,7 @@ enum DebuggerStatus
enum DebuggerStartMode
{
NoStartMode,
StartInternal, // Start current start project's binary
StartExternal, // Start binary found in file system
AttachExternal, // Attach to running process by process id
......
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