(thread: Thread, callFrame: Cdp.Debugger.CallFrame)
| 154 | } |
| 155 | |
| 156 | static fromDebugger(thread: Thread, callFrame: Cdp.Debugger.CallFrame): StackFrame { |
| 157 | const result = new StackFrame(thread, callFrame.functionName, thread.rawLocation(callFrame)); |
| 158 | result._scope = { |
| 159 | chain: callFrame.scopeChain, |
| 160 | thisObject: callFrame.this, |
| 161 | returnValue: callFrame.returnValue, |
| 162 | variables: new Array(callFrame.scopeChain.length).fill(undefined), |
| 163 | // eslint-disable-next-line |
| 164 | callFrameId: callFrame.callFrameId!, |
| 165 | }; |
| 166 | return result; |
| 167 | } |
| 168 | |
| 169 | static asyncSeparator(thread: Thread, name: string): StackFrame { |
| 170 | const result = new StackFrame(thread, name, { lineNumber: 1, columnNumber: 1, url: '' }); |
nothing calls this directly
no test coverage detected