MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / constructor

Function constructor

src/debug/dart_debug_impl.ts:78–89  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76 }
77
78 public constructor() {
79 // Don't allow unhandled promises to terminate the DA, instead send a log event
80 // to the client.
81 // TODO: Track down and fix anywhere that unhandled promises can occur!
82 process.on("unhandledRejection", (reason, promise) => {
83 this.logger.error(`UNHANDLED: ${reason}, ${promise}`);
84 });
85
86 super();
87
88 this.threadManager = new ThreadManager(this.logger, this);
89 }
90
91 protected initializeRequest(
92 response: DebugProtocol.InitializeResponse,

Callers

nothing calls this directly

Calls 2

onMethod · 0.80
errorMethod · 0.65

Tested by

no test coverage detected