diff --git a/src/engine/execute.js b/src/engine/execute.js index e7f0946cc..a58a0f7e0 100644 --- a/src/engine/execute.js +++ b/src/engine/execute.js @@ -112,8 +112,8 @@ const handlePromise = (primitiveReportedValue, sequencer, thread, blockCached, l // Promise handlers primitiveReportedValue.then(resolvedValue => { handleReport(resolvedValue, sequencer, thread, blockCached, lastOperation); - // If its a command block. - if (lastOperation && typeof resolvedValue === 'undefined') { + // If its a command block or a top level reporter in a stackClick. + if (lastOperation) { let stackFrame; let nextBlockId; do {