(thread: ThreadInfo)
| 144 | |
| 145 | // Just resends existing breakpoints for a single thread. |
| 146 | public async resendThreadBreakpoints(thread: ThreadInfo): Promise<void> { |
| 147 | const promises = []; |
| 148 | for (const uri of Object.keys(this.bps)) { |
| 149 | promises.push(thread.setBreakpoints(this.logger, uri, this.bps[uri])); |
| 150 | } |
| 151 | await Promise.all(promises); |
| 152 | } |
| 153 | |
| 154 | public setBreakpoints(uri: string, breakpoints: DebugProtocol.SourceBreakpoint[]): Promise<any[]> { |
| 155 | // Remember these bps for when new threads start. |
no test coverage detected