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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Ben Coman
On Sat, Jun 6, 2015 at 4:35 AM, Chris Muller <[hidden email]> 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