(callback: (thread: Thread) => Promise<T>)
| 238 | } |
| 239 | |
| 240 | _withThread<T>(callback: (thread: Thread) => Promise<T>): Promise<T | Dap.Error> { |
| 241 | if (!this._thread) return Promise.resolve(this._threadNotAvailableError()); |
| 242 | return callback(this._thread); |
| 243 | } |
| 244 | |
| 245 | async _refreshStackTrace() { |
| 246 | if (!this._thread) return; |
no test coverage detected