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

Function stdout

test/parallel/test-debugger-probe-json-special-values.js:43–154  ·  view source on GitHub ↗
(output)

Source from the content-addressed store, hash-verified

41 'probe-types.js',
42], { cwd, env: { ...process.env, NODE_DEBUG: 'inspect_probe' } }, {
43 stdout(output) {
44 assertProbeJson(output, {
45 v: 2,
46 probes: [
47 { expr: 'stringValue', target },
48 { expr: 'booleanValue', target },
49 { expr: 'undefinedValue', target },
50 { expr: 'nullValue', target },
51 { expr: 'nanValue', target },
52 { expr: 'bigintValue', target },
53 { expr: 'symbolValue', target },
54 { expr: 'functionValue', target },
55 { expr: 'objectValue', target },
56 { expr: 'arrayValue', target },
57 { expr: 'errorValue', target },
58 ],
59 results: [
60 {
61 probe: 0,
62 event: 'hit',
63 hit: 1,
64 location,
65 result: { type: 'string', value: 'hello' },
66 },
67 {
68 probe: 1,
69 event: 'hit',
70 hit: 1,
71 location,
72 result: { type: 'boolean', value: true },
73 },
74 {
75 probe: 2,
76 event: 'hit',
77 hit: 1,
78 location,
79 result: { type: 'undefined' },
80 },
81 {
82 probe: 3,
83 event: 'hit',
84 hit: 1,
85 location,
86 result: { type: 'object', subtype: 'null', value: null },
87 },
88 {
89 probe: 4,
90 event: 'hit',
91 hit: 1,
92 location,
93 result: { type: 'number', unserializableValue: 'NaN', description: 'NaN' },
94 },
95 {
96 probe: 5,
97 event: 'hit',
98 hit: 1,
99 location,
100 result: { type: 'bigint', unserializableValue: '1n', description: '1n' },

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…