()
| 193 | } |
| 194 | |
| 195 | public async resume(): Promise<Dap.ContinueResult | Dap.Error> { |
| 196 | this._sourceContainer.clearDisabledSourceMaps(); |
| 197 | if (!(await this._cdp.Debugger.resume({}))) { |
| 198 | // We don't report the failure if the target wasn't paused. VS relies on this behavior. |
| 199 | if (this._pausedDetails !== undefined) { |
| 200 | return errors.createSilentError(localize('error.resumeDidFail', 'Unable to resume')); |
| 201 | } |
| 202 | } |
| 203 | return { allThreadsContinued: false }; |
| 204 | } |
| 205 | |
| 206 | public async pause(): Promise<Dap.PauseResult | Dap.Error> { |
| 207 | if (await this._cdp.Debugger.pause({})) this._expectedPauseReason = { reason: 'pause' }; |
no test coverage detected