()
| 110 | }; |
| 111 | |
| 112 | const stepOver = function () { |
| 113 | if (!cmd) return continueExec(); |
| 114 | const result = |
| 115 | cmd && cmd.type === "breakpointCommand" |
| 116 | ? runtime.findNext(cmd, ctx) |
| 117 | : runtime.unifiedEval(cmd, ctx); |
| 118 | if (result.type === "implicitReturn") return stepOut(); |
| 119 | if (result && result.then instanceof Function) { |
| 120 | return result.then((next) => { |
| 121 | cmd = next; |
| 122 | bus.dispatchEvent(new Event("step")); |
| 123 | logCommand(); |
| 124 | }); |
| 125 | } else if (result === runtime.HALT) { |
| 126 | bus.dispatchEvent(new Event("continue")); |
| 127 | } else { |
| 128 | cmd = result; |
| 129 | bus.dispatchEvent(new Event("step")); |
| 130 | logCommand(); |
| 131 | } |
| 132 | ui(); |
| 133 | }; |
| 134 | |
| 135 | const stepOut = function () { |
| 136 | if (!ctx.meta.caller) return continueExec(); |
nothing calls this directly
no test coverage detected