[Cuis-dev] Morphic glitches out/hangs when adding faulty code to drawOn method on morphs that step

Hilaire Fernandes hfern at free.fr
Thu Dec 15 01:28:54 PST 2022


Hi Alan,

Thanks to report! I confirm the issue, even with non stepping morph. It 
should not behave like that.

The expected behavior with faulty code in a #drawOn: method is a broken 
morph rendered as a red rectangle with yellow diagonals and stepping set 
in pause, to avoid recurring debugger to pop up I guess. By the way 
there is the WorldMenu>Debug  and Morph halo menus to restart stepping 
and rendering once the broken code is fixed.

It seems the Morph is not detected as broken, and rendering is tried 
again and again.

Juan recently introduced the HybridCanvas to speed up graphics 
rendering, may be it is related, and a fix should come. I can't help 
more, sorry.

Hilaire

Le 15/12/2022 à 07:43, Alan Dao via Cuis-dev a écrit :
> I know that the code I've put in is inherently flawed, but my 
> development process involves experimenting a lot and not always 
> knowing what I'm doing. Is there something I'm missing when it comes 
> to not having mistakes break Morphic? Any advice would be appreciated.
>
-- 
GNU Dr. Geo
http://drgeo.eu
http://blog.drgeo.eu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20221215/f963593e/attachment.htm>


More information about the Cuis-dev mailing list