| 849 | |
| 850 | |
| 851 | bool DebuggerController::DisconnectDebugServer() |
| 852 | { |
| 853 | if (!m_state->IsConnectedToDebugServer()) |
| 854 | return true; |
| 855 | |
| 856 | bool ok = m_adapter->DisconnectDebugServer(); |
| 857 | if (!ok) |
| 858 | LogWarn("Failed to disconnect from the debug server"); |
| 859 | else |
| 860 | m_state->SetConnectedToDebugServer(false); |
| 861 | |
| 862 | return ok; |
| 863 | } |
| 864 | |
| 865 | |
| 866 | void DebuggerController::Detach() |
nothing calls this directly
no test coverage detected