MCPcopy Create free account
hub / github.com/WebFreak001/code-debug / handleBreakpoint

Method handleBreakpoint

src/mibase.ts:120–124  ·  view source on GitHub ↗
(info: MINode)

Source from the content-addressed store, hash-verified

118 }
119
120 protected handleBreakpoint(info: MINode) {
121 const event = new StoppedEvent("breakpoint", parseInt(info.record("thread-id")));
122 (event as DebugProtocol.StoppedEvent).body.allThreadsStopped = info.record("stopped-threads") == "all";
123 this.sendEvent(event);
124 }
125
126 protected handleBreak(info?: MINode) {
127 const event = new StoppedEvent("step", info ? parseInt(info.record("thread-id")) : 1);

Callers

nothing calls this directly

Calls 1

recordMethod · 0.80

Tested by

no test coverage detected