MCPcopy Create free account
hub / github.com/9miao/CrossApp / stepFunction

Function stepFunction

scripting/javascript/bindings/js/jsb_debugger.js:434–453  ·  view source on GitHub ↗
(frame, script)

Source from the content-addressed store, hash-verified

432};
433
434var stepFunction = function (frame, script) {
435 if (dbg.breakLine > 0) {
436 var curLine = script.getOffsetLine(frame.offset);
437 if (curLine < dbg.breakLine) {
438 return;
439 } else {
440 try {
441 dbg.responder.onStep(frame.script.url, frame.script.getOffsetLine(frame.offset));
442 } catch (e) {
443 dbg.log("exception " + e);
444 }
445
446 _lockVM(frame, script);
447 // dbg.breakLine = 0;
448 // frame.onStep = undefined;
449 }
450 } else {
451 dbg.log("invalid state onStep");
452 }
453};
454
455var debugObject = function (r, isNormal) {
456 var stringres = "";

Callers 1

jsb_debugger.jsFile · 0.85

Calls 1

logMethod · 0.45

Tested by

no test coverage detected