<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Maybe for some cases, we could improve the situation. At least,
errors in #drawOn: should never crash the image. Not sure for other
methods, though. If you post a UserChanges file that results in this
behavior, I'll try to take a look.<br>
<br>
Cheers,<br>
<br>
On 08/02/2022 02:55 p.m., Hernan Wilkinson via Cuis-dev wrote:
<blockquote
cite="mid:CAJAbP8hnysD2yO=_ipucd1-C6v0P7R0qfQ8bZEPGqQTx3WVheg@mail.gmail.com"
type="cite">
<div dir="ltr">Juan is the best one to answer this question (he's
on vacation for a couple of weeks).
<div>It is not easy to debug Morph because of the
meta-circularity of it that you already know...</div>
<div>I know that Juan uses the logs that are saved when an error
occurs (that is disabled in CuisUniversity just in case you
are using it, there is a preference to enable it).</div>
<div>It would be great to find a way to break the circularity
when doing this kind of thing. For example, if you want to
make changes in the debugger, the best way to do it is to
subclass it, work in the subclass so if an error occurs the
original debugger appears, and when finish push up the changes
to the debugger class, but I do not see how to do something
similar in Morph... maybe creating a new world with a
different hierarchy of morphs that are the one you are working
on?... or try to use a "stack of the morph framework" in the
same way some people work with a stack of compiler when
working with meta-circular languages?... </div>
<div>I'm sorry I can not provide concrete solutions but just
some ideas...</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Feb 8, 2022 at 1:43 PM
Nicolás Papagna Maldonado via Cuis-dev <<a
moz-do-not-send="true" href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div dir="ltr">Aloha folks!
<div><br>
</div>
<div>From time to time It happens to me that, for some
reason (an Exception I believe), when I open a Morph I'm
developing the image freezes.</div>
<div>The cursor usually alternates between the pointer and
the clock and stays stuck there.</div>
<div><br>
</div>
<div>Cmd + . usually does not help, and I end up killing the
VM from the command line/activity monitor.</div>
<div><br>
</div>
<div>When I reopen the image, I get to restore the changes,
and by looking at what was not "committed" I can tell if
there is something wrong (but I have to "execute it in my
head").</div>
<div><br>
</div>
<div>Is there a better way to debug this kind of situation?</div>
<div>I found that putting a halt on a method usually leads
to the same situation.</div>
<div>
<div><br>
</div>
Best,</div>
<div>Nico PM</div>
</div>
-- <br>
Cuis-dev mailing list<br>
<a moz-do-not-send="true" href="mailto:Cuis-dev@lists.cuis.st"
target="_blank">Cuis-dev@lists.cuis.st</a><br>
<a moz-do-not-send="true"
href="https://lists.cuis.st/mailman/listinfo/cuis-dev"
rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature">
<div dir="ltr"><span style="font-size: xx-small;
border-collapse: collapse;">
<div style="font-size: small;"><a moz-do-not-send="true"
href="https://10pines.com/" style="font-family:
Roboto,Helvetica,Arial,sans-serif; font-size: medium;"
target="_blank"><img moz-do-not-send="true"
src="https://10pines.github.io/email-signature/10pines-firma@2x.png"
style="margin-bottom: 0.5em;" width="108"></a><span
style="color: rgb(0, 0, 0); font-family:
Roboto,Helvetica,Arial,sans-serif; font-size: medium;"></span>
<h1 style="margin: 0px; font-size: 14px;">Hernán Wilkinson</h1>
<h2 style="margin: 0px 0px 1em; font-size: 14px; color:
rgb(100, 100, 100);">Software Developer & Coach</h2>
<p style="margin: 0px; color: rgb(100, 100, 100);
font-size: 12px;">Alem 896, Floor 6, Buenos Aires,
Argentina</p>
<p style="margin: 0px; color: rgb(100, 100, 100);
font-size: 12px;">+54 11 6091 3125</p>
<p style="margin: 0px; color: rgb(100, 100, 100);
font-size: 12px;">@HernanWilkinson</p>
</div>
</span></div>
</div>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
<a class="moz-txt-link-freetext" href="https://independent.academia.edu/JuanVuletich">https://independent.academia.edu/JuanVuletich</a>
<a class="moz-txt-link-freetext" href="https://www.researchgate.net/profile/Juan-Vuletich">https://www.researchgate.net/profile/Juan-Vuletich</a>
<a class="moz-txt-link-freetext" href="https://patents.justia.com/inventor/juan-manuel-vuletich">https://patents.justia.com/inventor/juan-manuel-vuletich</a>
@JuanVuletich</pre>
</body>
</html>