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

Method fromRuntime

valdi/vscode_debugger/src/adapter/stackTrace.ts:152–154  ·  view source on GitHub ↗
(thread: Thread, callFrame: Cdp.Runtime.CallFrame)

Source from the content-addressed store, hash-verified

150 private _thread: Thread;
151
152 static fromRuntime(thread: Thread, callFrame: Cdp.Runtime.CallFrame): StackFrame {
153 return new StackFrame(thread, callFrame.functionName, thread.rawLocation(callFrame));
154 }
155
156 static fromDebugger(thread: Thread, callFrame: Cdp.Debugger.CallFrame): StackFrame {
157 const result = new StackFrame(thread, callFrame.functionName, thread.rawLocation(callFrame));

Callers

nothing calls this directly

Calls 1

rawLocationMethod · 0.80

Tested by

no test coverage detected