MCPcopy Create free account
hub / github.com/Dart-Code/Dart-Code / removeAllBreakpoints

Method removeAllBreakpoints

src/debug/threads.ts:257–263  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

255 }
256
257 public removeAllBreakpoints(): Promise<any> {
258 const removeBreakpointPromises = [];
259 for (const uri of Object.keys(this.vmBps)) {
260 removeBreakpointPromises.push(this.removeBreakpointsAtUri(uri));
261 }
262 return Promise.all(removeBreakpointPromises);
263 }
264
265 public async setBreakpoints(logger: Logger, uri: string, breakpoints: DebugProtocol.SourceBreakpoint[]): Promise<Array<VMBreakpoint | undefined>> {
266 // Remove all current bps.

Calls 1

Tested by

no test coverage detected