#ensure: broken?

Tom Phoenix rootbeer at redcat.com
Sat Sep 24 17:26:23 UTC 2005


On 9/23/05, Josh Gargus <schwa at fastmail.us> wrote:

> When I run the following code...
> [4 / 0] ensure: [self halt]
> ... I get a ZeroDivide debugger, as expected.  However, the halt does
> not get executed when I press the "Abandon" button (although pressing
> "Proceed" does cause it to be executed).

It halts for me, in a Squeak 3.8 image, even if I choose "Abandon".
It's an "unwind error", but it is executed. Hope this help!

--Tom



More information about the Squeak-dev mailing list