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

Method handleBreak

src/mibase.ts:126–130  ·  view source on GitHub ↗
(info?: MINode)

Source from the content-addressed store, hash-verified

124 }
125
126 protected handleBreak(info?: MINode) {
127 const event = new StoppedEvent("step", info ? parseInt(info.record("thread-id")) : 1);
128 (event as DebugProtocol.StoppedEvent).body.allThreadsStopped = info ? info.record("stopped-threads") == "all" : true;
129 this.sendEvent(event);
130 }
131
132 protected handlePause(info: MINode) {
133 const event = new StoppedEvent("user request", parseInt(info.record("thread-id")));

Callers

nothing calls this directly

Calls 1

recordMethod · 0.80

Tested by

no test coverage detected