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

Method RegisterHandler

Source/cmDebuggerVariablesManager.cxx:14–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12namespace cmDebugger {
13
14void cmDebuggerVariablesManager::RegisterHandler(
15 int64_t id,
16 std::function<dap::array<dap::Variable>(dap::VariablesRequest const&)>
17 handler)
18{
19 VariablesHandlers[id] = std::move(handler);
20}
21
22void cmDebuggerVariablesManager::UnregisterHandler(int64_t id)
23{

Callers 1

cmDebuggerVariablesMethod · 0.80

Calls 1

moveFunction · 0.85

Tested by

no test coverage detected