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

Method ConnectToDebugServer

core/adapters/lldbadapter.cpp:1612–1619  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1610
1611
1612bool LldbAdapter::ConnectToDebugServer(const std::string& server, std::uint32_t port)
1613{
1614 auto platform = m_debugger.GetSelectedPlatform();
1615 auto connectionString = fmt::format("connect://{}:{}", server, port);
1616 SBPlatformConnectOptions options(connectionString.c_str());
1617 auto error = platform.ConnectRemote(options);
1618 return error.Success();
1619}
1620
1621
1622bool LldbAdapter::DisconnectDebugServer()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected