( response: DebugProtocol.SetExceptionBreakpointsResponse, args: DebugProtocol.SetExceptionBreakpointsArguments, )
| 573 | } |
| 574 | |
| 575 | protected async setExceptionBreakPointsRequest( |
| 576 | response: DebugProtocol.SetExceptionBreakpointsResponse, |
| 577 | args: DebugProtocol.SetExceptionBreakpointsArguments, |
| 578 | ): Promise<void> { |
| 579 | const filters: string[] = args.filters; |
| 580 | |
| 581 | let mode: VmExceptionMode = "None"; |
| 582 | |
| 583 | // If we're running in noDebug mode, we'll always set None. |
| 584 | if (!this.noDebug) { |
| 585 | if (filters.includes("Unhandled")) |
| 586 | mode = "Unhandled"; |
| 587 | if (filters.includes("All")) |
| 588 | mode = "All"; |
| 589 | } |
| 590 | |
| 591 | await this.threadManager.setExceptionPauseMode(mode); |
| 592 | |
| 593 | this.sendResponse(response); |
| 594 | } |
| 595 | |
| 596 | protected configurationDoneRequest( |
| 597 | response: DebugProtocol.ConfigurationDoneResponse, |
nothing calls this directly
no test coverage detected