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

Method evaluateGlobal

deps/v8/test/debugger/test-api.js:633–641  ·  view source on GitHub ↗
(expr, throw_on_side_effect)

Source from the content-addressed store, hash-verified

631 }
632
633 evaluateGlobal(expr, throw_on_side_effect) {
634 const {msgid, msg} = this.createMessage(
635 "Runtime.evaluate", { expression : expr, throwOnSideEffect: throw_on_side_effect });
636 this.sendMessage(msg);
637 const reply = this.takeReplyChecked(msgid);
638
639 const result = reply.result.result;
640 return this.reconstructRemoteObject(result);
641 }
642
643 evaluateGlobalREPL(expr) {
644 return %RuntimeEvaluateREPL(expr).then(value => {

Callers 8

handleDebuggerPausedMethod · 0.95
successFunction · 0.80
evaluateNonREPLFunction · 0.80
evaluateNonREPLFunction · 0.80
listenerFunction · 0.80
successFunction · 0.80
failFunction · 0.80

Calls 4

createMessageMethod · 0.95
sendMessageMethod · 0.95
takeReplyCheckedMethod · 0.95

Tested by

no test coverage detected