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

Method canConnect

ui/controlswidget.cpp:271–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269
270
271bool DebugControlsWidget::canConnect()
272{
273 auto currentAdapter = m_controller->GetAdapterType();
274 if (currentAdapter == "")
275 return false;
276 auto adapter = DebugAdapterType::GetByName(currentAdapter);
277 if (!adapter)
278 return false;
279 return adapter->CanConnect(m_controller->GetData());
280}
281
282
283void DebugControlsWidget::setStartingEnabled(bool enabled)

Callers

nothing calls this directly

Calls 3

GetAdapterTypeMethod · 0.45
CanConnectMethod · 0.45
GetDataMethod · 0.45

Tested by

no test coverage detected