MCPcopy Create free account
hub / github.com/SpartanJ/eepp / isServerConnected

Method isServerConnected

src/tools/ecode/plugins/debugger/dap/debuggerclientdap.cpp:105–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103}
104
105bool DebuggerClientDap::isServerConnected() const {
106 if ( !mSessions.empty() ) {
107 auto sessionIt = mSessions.find( mCurrentSessionId );
108 if ( sessionIt != mSessions.end() && sessionIt->second.bus )
109 return sessionIt->second.bus->state() == Bus::State::Running;
110 }
111 return false;
112}
113
114bool DebuggerClientDap::supportsTerminateRequest() const {
115 return mAdapterCapabilities.supportsTerminateRequest;

Callers 2

sendFileBreakpointsMethod · 0.80
onMouseMoveMethod · 0.80

Calls 4

stateMethod · 0.80
emptyMethod · 0.45
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected