MCPcopy Create free account
hub / github.com/Vector35/debugger / DisconnectDebugServer

Method DisconnectDebugServer

core/adapters/lldbadapter.cpp:1622–1630  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1620
1621
1622bool 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected