Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/engine/thread.js
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,8 @@ class Thread {
let callCount = 5; // Max number of enclosing procedure calls to examine.
const sp = this.stackFrames.length - 1;
for (let i = sp - 1; i >= 0; i--) {
const block = this.target.blocks.getBlock(this.stackFrames[i].op.id);
const block = this.target.blocks.getBlock(this.stackFrames[i].op.id) ||
this.target.runtime.flyoutBlocks.getBlock(this.stackFrames[i].op.id);
if (block.opcode === 'procedures_call' &&
block.mutation.proccode === procedureCode) {
return true;
Expand Down