MCPcopy Create free account
hub / github.com/Snapchat/Valdi / renderDebuggerLocation

Method renderDebuggerLocation

valdi/vscode_debugger/src/adapter/threads.ts:790–795  ·  view source on GitHub ↗
(loc: Cdp.Debugger.Location)

Source from the content-addressed store, hash-verified

788 }
789
790 async renderDebuggerLocation(loc: Cdp.Debugger.Location): Promise<string> {
791 const raw = this.rawLocation(loc);
792 const ui = await this.rawLocationToUiLocation(raw);
793 if (ui) return `@ ${await ui.source.prettyName()}:${ui.lineNumber}`;
794 return `@ VM${raw.scriptId || 'XX'}:${raw.lineNumber}`;
795 }
796
797 async setPauseOnExceptionsState(state: PauseOnExceptionsState): Promise<void> {
798 await this._cdp.Debugger.setPauseOnExceptions({ state });

Callers

nothing calls this directly

Calls 3

rawLocationMethod · 0.95
prettyNameMethod · 0.80

Tested by

no test coverage detected