MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / OnAddBreakPointReq

Method OnAddBreakPointReq

emmy_debugger/src/proto/proto_handler.cpp:62–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

60}
61
62void ProtoHandler::OnAddBreakPointReq(AddBreakpointParams &params) {
63 auto &manager = _owner->GetDebugManager();
64 if (params.clear) {
65 manager.RemoveAllBreakpoints();
66 }
67
68 for (auto &bp: params.breakPoints) {
69 manager.AddBreakpoint(bp);
70 }
71}
72
73void ProtoHandler::OnRemoveBreakPointReq(RemoveBreakpointParams &params) {
74 auto &manager = _owner->GetDebugManager();

Callers

nothing calls this directly

Calls 2

RemoveAllBreakpointsMethod · 0.80
AddBreakpointMethod · 0.80

Tested by

no test coverage detected