| 818 | } |
| 819 | |
| 820 | class StacktraceOutputVariable extends Variable { |
| 821 | constructor( |
| 822 | context: VariableContext, |
| 823 | remoteObject: Cdp.Runtime.RemoteObject, |
| 824 | private readonly stacktrace: StackTrace, |
| 825 | ) { |
| 826 | super(context, remoteObject); |
| 827 | } |
| 828 | |
| 829 | public override async toDap(): Promise<Dap.Variable> { |
| 830 | return { |
| 831 | name: '', |
| 832 | value: await this.stacktrace.format(), |
| 833 | variablesReference: 0, |
| 834 | }; |
| 835 | } |
| 836 | } |
| 837 | |
| 838 | class FunctionLocationVariable extends Variable { |
| 839 | public readonly location: Cdp.Debugger.Location; |
nothing calls this directly
no outgoing calls
no test coverage detected