MCPcopy
hub / github.com/microsoft/vscode-js-debug / _onSetBreakpoints

Method _onSetBreakpoints

src/adapter/debugAdapter.ts:361–368  ·  view source on GitHub ↗
(
    params: Dap.SetBreakpointsParams,
  )

Source from the content-addressed store, hash-verified

359 }
360
361 private async _onSetBreakpoints(
362 params: Dap.SetBreakpointsParams,
363 ): Promise<Dap.SetBreakpointsResult | Dap.Error> {
364 return this.breakpointManager.setBreakpoints(
365 params,
366 params.breakpoints?.map(() => this.breakpointIdCounter()) ?? [],
367 );
368 }
369
370 async setExceptionBreakpoints(
371 params: Dap.SetExceptionBreakpointsParams,

Callers 1

constructorMethod · 0.95

Calls 2

mapMethod · 0.80
setBreakpointsMethod · 0.65

Tested by

no test coverage detected