This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2007-12-10 22:48:42

hmnwilson
Scratcher
Registered: 2007-07-04
Posts: 1000+

What's single stepping?

I looked in the extras menu and found a thing that says "start single stepping". I turned it on but I couldn't find anything different. What's it supposed to do?
EDIT: I noticed the step block turned green. That still doesn't explain anything, though...

Last edited by hmnwilson (2007-12-10 23:01:00)


I'm taking a break from Scratch until 2.0 comes out. Any messages sent between then and now probably won't be read - sorry.
(Oct. 20, 2011)

Offline

 

#2 2007-12-11 01:33:19

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: What's single stepping?

Hi hmnwilson,

Single stepping is a debugging method.

Turning on 'single stepping' will slow down the execution speed of your project in the Scratch IDE and show you exactly with (single) block is currently executed by flashing that single block instead of just flashing the outline of the whole script currently executed. That way you can e.g. keep track of variable settings and possibly find out where your project does something it shouldn't.

BTW, you can set the single stepping speed by pressing shift and right clicking on the "Extras" button.


Jens Mönig

Offline

 

#3 2007-12-11 05:45:56

kevin_karplus
Scratcher
Registered: 2007-04-27
Posts: 1000+

Re: What's single stepping?

Hmm, there does not seem to be a combination of keys on the mac that enables setting single stepping speed.  (This is why I hate hiding features behind shift, option, right-click, and so forth—you never know what features are *supposed* to be there.)

Offline

 

Board footer