MCPcopy Create free account
hub / github.com/nodejs/node / onPaused

Method onPaused

lib/internal/debugger/inspect_probe.js:613–623  ·  view source on GitHub ↗
(params)

Source from the content-addressed store, hash-verified

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; }

Calls 3

handlePausedMethod · 0.95
debugFunction · 0.50

Tested by 1

testFunction · 0.64