MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / send

Method send

src/plugins/debugger/dap/rawdebugsession.cpp:435–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

433
434template<typename REQUEST, typename RESPONSE>
435bool RawDebugSession::send(const REQUEST &request, RESPONSE *res)
436{
437 auto r = session->send(request).get();
438 if (r.error) {
439 errHandler(r.error.message);
440 return false;
441 }
442 *res = r.response;
443 return true;
444}
445
446template<typename REQUEST>
447bool RawDebugSession::syncSend(const REQUEST &request)

Callers 15

registerDBusConnectMethod · 0.45
registerHanlderMethod · 0.45
handleAsyncContinuedMethod · 0.45
handleAsyncStoppedMethod · 0.45
handleAsyncExitedMethod · 0.45
handleThreadExitedMethod · 0.45
handleLibraryLoadedMethod · 0.45
handleLibraryUnloadedMethod · 0.45
handleStreamConsoleMethod · 0.45
foreachFunction · 0.45
handleTerminateEventMethod · 0.45
handleAssembleDataMethod · 0.45

Calls 1

getMethod · 0.45

Tested by

no test coverage detected