(session: vscode.DebugSession)
| 361 | } |
| 362 | |
| 363 | private async _getThreads(session: vscode.DebugSession) { |
| 364 | const threadsResponse = await session.customRequest("threads"); |
| 365 | const threads = threadsResponse.threads.filter((thread: any) => |
| 366 | threadStopped.get(thread.id), |
| 367 | ); |
| 368 | threads.sort((a: any, b: any) => a.id - b.id); |
| 369 | threadsResponse.threads = threads; |
| 370 | |
| 371 | return threadsResponse; |
| 372 | } |
| 373 | |
| 374 | async getAvailableThreads(): Promise<Thread[]> { |
| 375 | const session = vscode.debug.activeDebugSession; |
no test coverage detected