Why isn't it sufficient to test for UnhandledError instead? Otherwise, we would also need to test for Warning etc. ...
Am 15.10.2019 12:45:42 schrieb Balázs Kósi <rebmekop@gmail.com>:
Hi Hannes!
This morning I've just run into this exact same situation: putting a halt into a method, called by a morph's #drawOn:makes the image unusable.
The problem stems from WorldState >> displayWorldSafely: being safe only for Errors and not for other kind ofExceptions, and Halt being only an Exception not an Error.
For a quick fix add Halt to the handled exceptions in #displayWorldSafely:[aWorld displayWorld. finished := true] on: Error, Halt do: [:ex |Balázs