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

Function stdout

test/parallel/test-debugger-probe-json.js:27–74  ·  view source on GitHub ↗
(output)

Source from the content-addressed store, hash-verified

25 'probe.js',
26], { cwd, env: { ...process.env, NODE_DEBUG: 'inspect_probe' } }, {
27 stdout(output) {
28 assertProbeJson(output, {
29 v: 2,
30 probes: [
31 { expr: 'index', target: { suffix: 'probe.js', line: 8 } },
32 { expr: 'total', target: { suffix: 'probe.js', line: 8 } },
33 { expr: 'finalValue', target: { suffix: 'probe.js', line: 12 } },
34 ],
35 results: [
36 {
37 probe: 0,
38 event: 'hit',
39 hit: 1,
40 location: locationAt8,
41 result: { type: 'number', value: 0, description: '0' },
42 },
43 {
44 probe: 1,
45 event: 'hit',
46 hit: 1,
47 location: locationAt8,
48 result: { type: 'number', value: 0, description: '0' },
49 },
50 {
51 probe: 0,
52 event: 'hit',
53 hit: 2,
54 location: locationAt8,
55 result: { type: 'number', value: 1, description: '1' },
56 },
57 {
58 probe: 1,
59 event: 'hit',
60 hit: 2,
61 location: locationAt8,
62 result: { type: 'number', value: 40, description: '40' },
63 },
64 {
65 probe: 2,
66 event: 'hit',
67 hit: 1,
68 location: locationAt12,
69 result: { type: 'number', value: 81, description: '81' },
70 },
71 { event: 'completed' },
72 ],
73 });
74 },
75 trim: true,
76});

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…