forked from qt-creator/qt-creator
debugger: fix crash on "recheck debugging helper" when not debugging
This commit is contained in:
@@ -1533,7 +1533,7 @@ void DebuggerManager::showQtDumperLibraryWarning(const QString &details)
|
|||||||
|
|
||||||
DebuggerStartMode DebuggerManager::startMode() const
|
DebuggerStartMode DebuggerManager::startMode() const
|
||||||
{
|
{
|
||||||
return m_runControl->startMode();
|
return m_runControl ? m_runControl->startMode() : NoStartMode;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DebuggerManager::reloadFullStack()
|
void DebuggerManager::reloadFullStack()
|
||||||
|
|||||||
@@ -118,6 +118,7 @@ enum DebuggerStatus
|
|||||||
|
|
||||||
enum DebuggerStartMode
|
enum DebuggerStartMode
|
||||||
{
|
{
|
||||||
|
NoStartMode,
|
||||||
StartInternal, // Start current start project's binary
|
StartInternal, // Start current start project's binary
|
||||||
StartExternal, // Start binary found in file system
|
StartExternal, // Start binary found in file system
|
||||||
AttachExternal, // Attach to running process by process id
|
AttachExternal, // Attach to running process by process id
|
||||||
|
|||||||
Reference in New Issue
Block a user