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

Method constructor

valdi/vscode_debugger/src/adapter/stackTrace.ts:175–181  ·  view source on GitHub ↗
(thread: Thread, name: string, rawLocation: RawLocation)

Source from the content-addressed store, hash-verified

173 }
174
175 constructor(thread: Thread, name: string, rawLocation: RawLocation) {
176 this._id = ++StackFrame._lastFrameId;
177 this._name = name || '<anonymous>';
178 this._rawLocation = rawLocation;
179 this._uiLocation = thread.rawLocationToUiLocation(rawLocation);
180 this._thread = thread;
181 }
182
183 callFrameId(): string | undefined {
184 return this._scope ? this._scope.callFrameId : undefined;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected