MCPcopy Create free account
hub / github.com/GNOME/gjs / setUntilRepl

Function setUntilRepl

modules/script/_bootstrap/debugger.js:610–616  ·  view source on GitHub ↗
(obj, prop, value)

Source from the content-addressed store, hash-verified

608// Set |prop| on |obj| to |value|, but then restore its current value
609// when we next enter the repl.
610function setUntilRepl(obj, prop, value) {
611 var saved = obj[prop];
612 obj[prop] = value;
613 replCleanups.push(() => {
614 obj[prop] = saved;
615 });
616}
617
618function doStepOrNext(kind) {
619 if (topFrame === null) {

Callers 4

stepPoppedFunction · 0.85
stepEnteredFunction · 0.85
doStepOrNextFunction · 0.85
debugger.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected