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

Method onTitleChanged

tools/xsbug-log/xsbug-logmachine.js:31–38  ·  view source on GitHub ↗
(title, tag)

Source from the content-addressed store, hash-verified

29 binaryOutput = null;
30
31 onTitleChanged(title, tag) {
32 super.onTitleChanged(title, tag);
33
34 if (title && (title !== "mcsim"))
35 console.log(`#xsbug-log connected to "${title}"`);
36
37 this.doSetAllBreakpoint([], false, true); // break on exceptions
38 }
39 onLogged(path, line, data) {
40 this.log += data;
41 if (this.log.endsWith("\n")) {

Callers

nothing calls this directly

Calls 2

doSetAllBreakpointMethod · 0.80
logMethod · 0.65

Tested by

no test coverage detected