Index: lldb/source/Plugins/Process/Windows/Common/ProcessDebugger.cpp =================================================================== --- lldb/source/Plugins/Process/Windows/Common/ProcessDebugger.cpp +++ lldb/source/Plugins/Process/Windows/Common/ProcessDebugger.cpp @@ -574,6 +574,8 @@ LLDB_LOG(log, "hit loader breakpoint, returning."); process = debugger->GetProcess(); + if (!m_session_data) + return Status("The process failed to launch."); return m_session_data->m_launch_error; } else return Status(::GetLastError(), eErrorTypeWin32);