| 1620 | |
| 1621 | |
| 1622 | bool LldbAdapter::DisconnectDebugServer() |
| 1623 | { |
| 1624 | auto platform = m_debugger.GetSelectedPlatform(); |
| 1625 | platform.DisconnectRemote(); |
| 1626 | // Since connecting to a debug server will set the platform remote-xxxx, we must reset it to host |
| 1627 | // Otherwise, launching the target (on the host) would not work after disconnecting from a debug server. |
| 1628 | [[maybe_unused]] auto error = m_debugger.SetCurrentPlatform("host"); |
| 1629 | return true; |
| 1630 | } |
nothing calls this directly
no outgoing calls
no test coverage detected