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

Function debugEval

lib/internal/debugger/inspect_repl.js:646–657  ·  view source on GitHub ↗
(input, context, filename, callback)

Source from the content-addressed store, hash-verified

644 }
645
646 function debugEval(input, context, filename, callback) {
647 debuglog('eval:', input);
648 function returnToCallback(error, result) {
649 debuglog('end-eval:', input, error);
650 callback(error, result);
651 }
652
653 PromisePrototypeThen(evalInCurrentContext(input),
654 (result) => returnToCallback(null, result),
655 returnToCallback,
656 );
657 }
658
659 async function formatWatchers(verbose = false) {
660 if (!watchedExpressions.length) {

Callers

nothing calls this directly

Calls 3

evalInCurrentContextFunction · 0.85
returnToCallbackFunction · 0.85
debuglogFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…