Scratch-vm: Single-stepping debug mode

Created on 8 Jun 2016  路  2Comments  路  Source: LLK/scratch-vm

It would be great to have a mode of execution where things are stepped by a button in the VM playground. The button would essentially call stepThreads() with a tiny WORK_TIME, to proceed one block per thread every time the button is pushed.

In the long run, it would be good to have single-stepping mode a la Scratch 1.4

enhancement

Most helpful comment

If I may add some insight into this, it might be a good idea to add a slider for speed in a "single-stepping" mode, that way, rather than having to use a button, which can be very cumbersome for large projects, or using a predetermined speed, which may not be the speed needed for debugging a part of a project, the user can choose his/her own speed.

All 2 comments

馃憤

If I may add some insight into this, it might be a good idea to add a slider for speed in a "single-stepping" mode, that way, rather than having to use a button, which can be very cumbersome for large projects, or using a predetermined speed, which may not be the speed needed for debugging a part of a project, the user can choose his/her own speed.

Was this page helpful?
0 / 5 - 0 ratings