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

Function stdout

test/parallel/test-debugger-probe-no-column-indent.js:21–41  ·  view source on GitHub ↗
(output)

Source from the content-addressed store, hash-verified

19 'probe-indented.js',
20], { cwd, env: { ...process.env, NODE_DEBUG: 'inspect_probe' } }, {
21 stdout(output) {
22 assertProbeJson(output, {
23 v: 2,
24 probes: [{
25 expr: 'x',
26 // No `:col` in `target`, reflecting the user spec.
27 target: { suffix: 'probe-indented.js', line: 6 },
28 }],
29 results: [{
30 probe: 0,
31 event: 'hit',
32 hit: 1,
33 // V8 should relocate the breakpoint to the first executable column (3).
34 location: { url: fixtureUrl, line: 6, column: 3 },
35 // Pauses *before* the assignment runs, so `x` still holds the value from line 4.
36 result: { type: 'number', value: 0, description: '0' },
37 }, {
38 event: 'completed',
39 }],
40 });
41 },
42 trim: true,
43});

Callers

nothing calls this directly

Calls 1

assertProbeJsonFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…