You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run vuurwerk in debug mode and go back in time to a point where a firework is gliding in the air. Then remove the future and try to continue running the program. Scratch will give the following error:
Uncaught TypeError TypeError: util.stackFrame.timer.timeElapsed is not a function
at glide (/Users/.../C002309-thesis/ugent-Scratch/blink/scratch-vm/src/blocks/scratch3_motion.js:146:1)
at execute (/Users/.../C002309-thesis/ugent-Scratch/blink/scratch-vm/src/engine/execute.js:518:1)
at stepThread (/Users/.../C002309-thesis/ugent-Scratch/blink/scratch-vm/src/engine/sequencer.js:245:1)
at stepThreads (/Users/.../C002309-thesis/ugent-Scratch/blink/scratch-vm/src/engine/sequencer.js:134:1)
at _step (/Users/.../C002309-thesis/ugent-Scratch/blink/scratch-vm/src/engine/runtime.js:2149:1)
at vm.runtime._step (/Users/.../C002309-thesis/ugent-Scratch/blink/itch/packages/core/src/context.ts:135:25)
at <anonymous> (/Users/.../C002309-thesis/ugent-Scratch/blink/scratch-vm/src/engine/runtime.js:2753:1)
It seems like the logger is not properly logging the stackframe timer.
The text was updated successfully, but these errors were encountered:
Logger was logging the stackframe correctly, timer object just need to be recreated when threads get deserialized in order for the error to go away.
How Blink should handle blocks that use timer object and js promises is a difficult question. For now, working this out will be postponed until the new execution model is completely finished.
Problem:
Run
vuurwerk
in debug mode and go back in time to a point where a firework is gliding in the air. Then remove the future and try to continue running the program. Scratch will give the following error:It seems like the logger is not properly logging the stackframe timer.
The text was updated successfully, but these errors were encountered: