MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / doScript

Method doScript

tools/xsbug-log/xsbug-machine.js:235–240  ·  view source on GitHub ↗
(path, wait, source)

Source from the content-addressed store, hash-verified

233 this.output.write(this.encoder.encode(string));
234 }
235 doScript(path, wait, source) {
236 let string = `\r\n<script path="${path}" line="${wait ? 1 : 0}"><![CDATA[`;
237 string += source;
238 string += `]]><script/>\r\n`;
239 this.output.write(this.encoder.encode(string));
240 }
241 doSetAllBreakpoint(breakpoints, atStart, atExceptions) {
242 let string = `\r\n<set-all-breakpoints>`;
243 if (atStart)

Callers 2

onMessageMethod · 0.80
stepMethod · 0.80

Calls 2

writeMethod · 0.65
encodeMethod · 0.65

Tested by

no test coverage detected