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

Method RegisterEventCallback

core/debuggercontroller.cpp:1189–1199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1187
1188
1189size_t DebuggerController::RegisterEventCallback(
1190 std::function<void(const DebuggerEvent&)> callback, const std::string& name)
1191{
1192 std::unique_lock<std::recursive_mutex> lock(m_callbackMutex);
1193 DebuggerEventCallback object;
1194 object.function = callback;
1195 object.index = m_callbackIndex++;
1196 object.name = name;
1197 m_eventCallbacks.push_back(object);
1198 return object.index;
1199}
1200
1201
1202bool DebuggerController::RemoveEventCallback(size_t index)

Callers 2

DebugProcessViewMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected