(expression: string, context?: string)
| 275 | } |
| 276 | |
| 277 | public async evaluateForFrame(expression: string, context?: string): Promise<{ |
| 278 | result: string; |
| 279 | type?: string; |
| 280 | variablesReference: number; |
| 281 | namedVariables?: number; |
| 282 | indexedVariables?: number; |
| 283 | }> { |
| 284 | const thread = await this.getMainThread(); |
| 285 | const stack = await this.stackTraceRequest({ threadId: thread.id }); |
| 286 | const result = await this.evaluateRequest({ expression, frameId: stack.body.stackFrames[0].id, context }); |
| 287 | return result.body; |
| 288 | } |
| 289 | |
| 290 | public assertOutputContains(category: string | undefined, text: string): Promise<DebugProtocol.OutputEvent> { |
| 291 | let output = ""; |
no test coverage detected