MCPcopy Create free account
hub / github.com/Snapchat/Valdi / pause

Method pause

valdi/vscode_debugger/src/adapter/threads.ts:206–210  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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' };

Callers

nothing calls this directly

Calls 1

pauseMethod · 0.65

Tested by

no test coverage detected