()
| 133 | }; |
| 134 | |
| 135 | const stepOut = function () { |
| 136 | if (!ctx.meta.caller) return continueExec(); |
| 137 | const callingCmd = ctx.meta.callingCommand; |
| 138 | const oldMe = ctx.me; |
| 139 | ctx = ctx.meta.caller; |
| 140 | console.log( |
| 141 | "[hdb] stepping out into " + ctx.meta.feature.displayName, |
| 142 | ); |
| 143 | if (ctx.me instanceof Element && ctx.me !== oldMe) { |
| 144 | console.log("[hdb] me: ", ctx.me); |
| 145 | } |
| 146 | cmd = runtime.findNext(callingCmd, ctx); |
| 147 | cmd = runtime.findNext(cmd, ctx); |
| 148 | logCommand(); |
| 149 | bus.dispatchEvent(new Event("step")); |
| 150 | ui(); |
| 151 | }; |
| 152 | |
| 153 | const skipTo = function (toCmdIndex) { |
| 154 | const toCmd = cmdMap[toCmdIndex]; |
no test coverage detected