MCPcopy Index your code
hub / github.com/nodejs/node / isProbeSegvTeardown

Function isProbeSegvTeardown

test/common/debugger-probe.js:14–19  ·  view source on GitHub ↗
(result)

Source from the content-addressed store, hash-verified

12const probeTargetExitSignal = 'SIGSEGV';
13
14function isProbeSegvTeardown(result) {
15 if (result?.event !== 'error') { return false; }
16 const error = result.error;
17 if (error?.signal !== probeTargetExitSignal) { return false; }
18 return error.code === 'probe_target_exit' || error.code === 'probe_failure';
19}
20
21function findProbeSegvTeardownLine(output) {
22 const signalPrefix = `Target exited with signal ${probeTargetExitSignal}`;

Callers 1

assertProbeJsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…