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

Function print

lib/internal/debugger/inspect_repl.js:402–405  ·  view source on GitHub ↗
(value, addNewline = true)

Source from the content-addressed store, hash-verified

400 }
401
402 function print(value, addNewline = true) {
403 const text = typeof value === 'string' ? value : inspect(value);
404 return inspector.print(text, addNewline);
405 }
406
407 function getCurrentLocation() {
408 if (!selectedFrame) {

Callers 15

listScriptsFunction · 0.70
saveMethod · 0.70
listFunction · 0.70
setContextLineNumberFunction · 0.70
listBreakpointsFunction · 0.70
registerBreakpointFunction · 0.70
setBreakpointFunction · 0.70
clearBreakpointFunction · 0.70
restoreBreakpointsFunction · 0.70
createReplFunction · 0.70
helpFunction · 0.70
takeHeapSnapshotFunction · 0.70

Calls 2

inspectFunction · 0.70
printMethod · 0.45

Tested by

no test coverage detected