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

Method stopEvent

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

Source from the content-addressed store, hash-verified

136 }
137
138 protected stopEvent(info: MINode) {
139 if (!this.started)
140 this.crashed = true;
141 if (!this.quit) {
142 const event = new StoppedEvent("exception", parseInt(info.record("thread-id")));
143 (event as DebugProtocol.StoppedEvent).body.allThreadsStopped = info.record("stopped-threads") == "all";
144 this.sendEvent(event);
145 }
146 }
147
148 protected threadCreatedEvent(info: MINode) {
149 this.sendEvent(new ThreadEvent("started", info.record("id")));

Callers

nothing calls this directly

Calls 1

recordMethod · 0.80

Tested by

no test coverage detected