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

Method setBreakpointsRequest

src/test/debug_client_ms.ts:205–209  ·  view source on GitHub ↗
(args: DebugProtocol.SetBreakpointsArguments)

Source from the content-addressed store, hash-verified

203 }
204
205 public setBreakpointsRequest(args: DebugProtocol.SetBreakpointsArguments): Promise<DebugProtocol.SetBreakpointsResponse> {
206 // After upgrading to TS 5.5, the return type doesn't appear to be picked up correctly from the overload so we need this
207 // cast 🤷‍♂️
208 return this.send('setBreakpoints', args) as Promise<DebugProtocol.SetBreakpointsResponse>;
209 }
210
211 public setFunctionBreakpointsRequest(args: DebugProtocol.SetFunctionBreakpointsArguments): Promise<DebugProtocol.SetFunctionBreakpointsResponse> {
212 return this.send('setFunctionBreakpoints', args);

Calls 1

sendMethod · 0.45

Tested by 2

testBreakpointConditionFunction · 0.64
testBreakpointConditionFunction · 0.64