| 60 | } |
| 61 | |
| 62 | void ProtoHandler::OnAddBreakPointReq(AddBreakpointParams ¶ms) { |
| 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 | |
| 73 | void ProtoHandler::OnRemoveBreakPointReq(RemoveBreakpointParams ¶ms) { |
| 74 | auto &manager = _owner->GetDebugManager(); |
nothing calls this directly
no test coverage detected