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

Method handleMsg

src/mibase.ts:112–118  ·  view source on GitHub ↗
(type: string, msg: string)

Source from the content-addressed store, hash-verified

110 }
111
112 protected handleMsg(type: string, msg: string) {
113 if (type == "target")
114 type = "stdout";
115 if (type == "log")
116 type = "stderr";
117 this.sendEvent(new OutputEvent(msg, type));
118 }
119
120 protected handleBreakpoint(info: MINode) {
121 const event = new StoppedEvent("breakpoint", parseInt(info.record("thread-id")));

Callers 2

initDebuggerMethod · 0.95
launchErrorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected