[squeak-dev] Is this a bug with Step "Over"?

Ben Coman btc at openinworld.com
Sat Jun 6 00:47:19 UTC 2015


On Sat, Jun 6, 2015 at 4:35 AM, Chris Muller <asqueaker at gmail.com> wrote:
> 3 timesRepeat: [Warning signal].
> 10 factorial
>
> Select the above in a workspace, select "debug it" then, in the
> debugger, click the "Over" button just once.
>
> 3 Warning pre-debuggers appear instantly and then the execution moves
> to the "factorial".
>
> Warnings have the opportunity to resume or cancel?  IOW, shouldn't it
> work more like as if it were a halt?
>
> 3 timesRepeat: [ self halt ].
> 10 factorial
>

Pharo does the same and its an interesting question so I've cross posted.
If you "do it" then you get *one* pre-debug window at a time.
When you "debug it" and step "Over" you get *three* debug windows at
once.  Shouldn't it behave the same as the "do it" to get *one* at a
time ?

cheers -ben


More information about the Squeak-dev mailing list