| 611 | } |
| 612 | |
| 613 | onPaused(params) { |
| 614 | debug('paused: finished=%d, reason=%s hitBreakpoints=%j', this.finished, params.reason, params.hitBreakpoints); |
| 615 | this.handlePaused(params).catch((error) => { |
| 616 | if (error === kInspectorFailedSentinel) { return; } |
| 617 | this.recordInspectorFailure({ |
| 618 | reason: 'Probe mode encountered an unexpected internal failure', |
| 619 | advice: 'This is likely a Node.js bug. Please file an issue.', |
| 620 | internalError: error, |
| 621 | }); |
| 622 | }); |
| 623 | } |
| 624 | |
| 625 | async handlePaused(params) { |
| 626 | if (this.finished) { return; } |