MCPcopy Create free account
hub / github.com/Kitware/CMake / cmDebuggerBreakpointManager

Method cmDebuggerBreakpointManager

Source/cmDebuggerBreakpointManager.cxx:20–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18namespace cmDebugger {
19
20cmDebuggerBreakpointManager::cmDebuggerBreakpointManager(
21 dap::Session* dapSession)
22 : DapSession(dapSession)
23{
24 // https://microsoft.github.io/debug-adapter-protocol/specification#Requests_SetBreakpoints
25 DapSession->registerHandler([&](dap::SetBreakpointsRequest const& request) {
26 return HandleSetBreakpointsRequest(request);
27 });
28}
29
30int64_t cmDebuggerBreakpointManager::FindFunctionStartLine(
31 std::string const& sourcePath, int64_t line)

Callers

nothing calls this directly

Calls 1

registerHandlerMethod · 0.45

Tested by

no test coverage detected