(uri: string)
| 241 | } |
| 242 | |
| 243 | private removeBreakpointsAtUri(uri: string): Promise<any> { |
| 244 | const removeBreakpointPromises = []; |
| 245 | const breakpoints = this.vmBps[uri]; |
| 246 | if (breakpoints) { |
| 247 | if (this.manager.debugSession.vmService) { |
| 248 | for (const bp of breakpoints) { |
| 249 | removeBreakpointPromises.push(this.manager.debugSession.vmService.removeBreakpoint(this.ref.id, bp.id)); |
| 250 | } |
| 251 | } |
| 252 | delete this.vmBps[uri]; |
| 253 | } |
| 254 | return Promise.all(removeBreakpointPromises); |
| 255 | } |
| 256 | |
| 257 | public removeAllBreakpoints(): Promise<any> { |
| 258 | const removeBreakpointPromises = []; |
no test coverage detected