MCPcopy Index your code
hub / github.com/microsoft/vscode-js-debug / emitLoadedSource

Method emitLoadedSource

src/adapter/sourceContainer.ts:852–855  ·  view source on GitHub ↗

* Sends a 'loadedSource' event for the given source.

(source: Source)

Source from the content-addressed store, hash-verified

850 * Sends a 'loadedSource' event for the given source.
851 */
852 public emitLoadedSource(source: Source): Promise<void> {
853 source.hasBeenAnnounced = true;
854 return source.toDap().then(dap => this._dap.loadedSource({ reason: 'new', source: dap }));
855 }
856
857 async _addSourceMapSources(compiled: ISourceWithMap, map: SourceMap) {
858 const todo: Promise<unknown>[] = [];

Callers 2

_addSourceMethod · 0.95
toDapMethod · 0.80

Calls 2

loadedSourceMethod · 0.80
toDapMethod · 0.65

Tested by

no test coverage detected