[Vm-dev] Progress changes break VMMaker

Eliot Miranda eliot.miranda at gmail.com
Sat Jun 23 18:10:23 UTC 2012


On Sat, Jun 23, 2012 at 10:13 AM, Balázs Kósi <kosi.balazs at ezomer.hu> wrote:

>
> I poked around a bit more, and found a method to handle these kind of
> situations: #rearmHandlerDuring:
> You could rewrite the exception handling block to something like this:
>
> [ :ex |
>    ex tag == #getVMMaker
>      ifTrue: [ ex resume: #caught ]
>       ifFalse: [ ex rearmHandlerDuring: [ ex pass ] ] ]
>
> and get five #cought on the Transcript
>

Thanks,  Balázs!!



-- 
best,
Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20120623/cb52b447/attachment.htm


More information about the Vm-dev mailing list