diff --git a/src/engine/execute.js b/src/engine/execute.js index e7f0946cc..c8638d01a 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 it's a command block or a top level reporter in a stackClick. + if (lastOperation) { let stackFrame; let nextBlockId; do {