()
| 204 | } |
| 205 | |
| 206 | public async pause(): Promise<Dap.PauseResult | Dap.Error> { |
| 207 | if (await this._cdp.Debugger.pause({})) this._expectedPauseReason = { reason: 'pause' }; |
| 208 | else return errors.createSilentError(localize('error.pauseDidFail', 'Unable to pause')); |
| 209 | return {}; |
| 210 | } |
| 211 | |
| 212 | async stepOver(): Promise<Dap.NextResult | Dap.Error> { |
| 213 | if (await this._cdp.Debugger.stepOver({})) this._expectedPauseReason = { reason: 'step' }; |