Commit bdafb8bd authored by hjk's avatar hjk

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

parent f29f2c55
......@@ -1468,7 +1468,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