<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>One clue might be that the code was copied from from another
method (can't really tell which copied which). By version<br>
</p>
<div class="ceven" style="background-color: rgb(238, 255, 255);
padding: 4px; color: rgb(0, 0, 0); font-family: Georgia, Times,
serif; font-size: medium; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
start; text-indent: 0px; text-transform: none; white-space:
normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; text-decoration-style: initial; text-decoration-color:
initial; max-width: 1000px;"><span style="font-weight: 700;">**</span>v1BlockContext
methodsFor: 'private'</div>
<div class="codd" style="background-color: rgb(255, 255, 238);
padding: 4px; color: rgb(0, 0, 0); font-family: Georgia, Times,
serif; font-size: medium; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
start; text-indent: 0px; text-transform: none; white-space:
normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; text-decoration-style: initial; text-decoration-color:
initial; max-width: 1000px;"><span style="color: red;
background-color: yellow;">cannotReturn</span><span
style="font-weight: 700;">:</span> arg<br>
<span style="color: blue;">"Kills off processes that didn't
terminate properly"</span><br>
<span style="color: blue;">"Display reverse; reverse."</span> <span
style="color: blue;">"<-- So we can catch the suspend bug"</span><br>
Processor terminateActive<br>
<br>
<div class="ceven" style="background-color: rgb(238, 255, 255);
padding: 4px; color: rgb(0, 0, 0); font-family: Georgia, Times,
serif; font-size: medium; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: 400; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; text-decoration-style: initial;
text-decoration-color: initial; max-width: 1000px;"><span
style="font-weight: 700;">**</span>v1UndefinedObject
methodsFor: 'dependents access'</div>
<div class="codd" style="background-color: rgb(255, 255, 238);
padding: 4px; color: rgb(0, 0, 0); font-family: Georgia, Times,
serif; font-size: medium; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: 400; letter-spacing: normal; orphans: 2;
text-align: start; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
-webkit-text-stroke-width: 0px; text-decoration-style: initial;
text-decoration-color: initial; max-width: 1000px;"><span
style="font-weight: 700;">suspend</span><br>
<span style="color: blue;">"Kills off processes that didn't
terminate properly"</span><br>
<span style="color: blue;">"Display reverse; reverse."</span> <span
style="color: blue;">"<-- So we can catch the suspend bug"</span><br>
Processor<span> </span><span style="color: red;
background-color: yellow;">terminateActive</span></div>
</div>
<br>
by version 1.22, #cannotReturn: had changed<br>
<br>
<div class="ceven" style="background-color: rgb(238, 255, 255);
padding: 4px; color: rgb(0, 0, 0); font-family: Georgia, Times,
serif; font-size: medium; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
start; text-indent: 0px; text-transform: none; white-space:
normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; text-decoration-style: initial; text-decoration-color:
initial; max-width: 1000px;"><span style="font-weight: 700;">*</span>122BlockContext
methodsFor: 'private' stamp: 'jm 9/18/97 21:40'</div>
<div class="codd" style="background-color: rgb(255, 255, 238);
padding: 4px; color: rgb(0, 0, 0); font-family: Georgia, Times,
serif; font-size: medium; font-style: normal;
font-variant-ligatures: normal; font-variant-caps: normal;
font-weight: 400; letter-spacing: normal; orphans: 2; text-align:
start; text-indent: 0px; text-transform: none; white-space:
normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width:
0px; text-decoration-style: initial; text-decoration-color:
initial; max-width: 1000px;"><span style="color: red;
background-color: yellow;">cannotR</span><span
style="font-weight: 700;">eturn:</span> result<br>
<span style="color: blue;">"The receiver tried to return
result to a method context that no longer exists."</span><br>
<br>
DebuggerView<br>
openContext: thisContext<br>
label:<span> </span><span style="color: rgb(0, 136, 68);">'Block
cannot return'</span><br>
contents: thisContext shortStack.<br>
<br>
</div>
<div class="moz-cite-prefix">On 11/18/17 5:04 PM, Nicolas Cellier
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAKnRiT4fysGbOy3gKUbMUw=vW5X1vQ2VXpW2T1bx3C9PzLbEBw@mail.gmail.com">
<div dir="ltr">
<div>
<div>
<div>
<div>It sounds like a left over...</div>
<div>no time stamp in Squeak, so it must be old.</div>
<div>Display reverse; reverse means we wanted to catch
when such oddity was necessary.<br>
</div>
(I would do it differently with an Exception and a
MessageTally like I already exhibited several times)<br>
</div>
The fact that reverse; reverse was commented is more
difficult to interpret... Is it really necessary?</div>
<div>I removed the method in a Squeak image, and so fare
nothing wrong happened, but it does not prove anything.<br>
</div>
The best is to ask in Squeak lists, maybe someone can
remember...<br>
</div>
Or carefully analyze all senders of suspend...<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2017-11-18 22:36 GMT+01:00 Aliaksei
Syrel <span dir="ltr"><<a
href="mailto:alex.syrel@gmail.com" target="_blank"
moz-do-not-send="true">alex.syrel@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>Hi,</div>
<div><br>
</div>
<div>I was looking at <font face="monospace, monospace"
color="#b45f06">nil</font> (already funny) and found a
very interesting method:</div>
<div><br>
</div>
<div>
<pre class="m_-8820131352990008828gmail-rich-diff-level-zero" style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;margin-top:0px;margin-bottom:16px;word-wrap:normal;padding:10px 20px;overflow:auto;line-height:1.45;background-color:rgb(246,248,250);border-radius:3px;margin-left:15px;color:rgb(36,41,46)">suspend
<span class="m_-8820131352990008828gmail-pl-c m_-8820131352990008828gmail-rich-diff-level-one" style="box-sizing:border-box;color:rgb(106,115,125)"><span class="m_-8820131352990008828gmail-pl-c" style="box-sizing:border-box">"</span>Kills off processes that didn't terminate properly<span class="m_-8820131352990008828gmail-pl-c" style="box-sizing:border-box">"</span></span>
<span class="m_-8820131352990008828gmail-pl-c m_-8820131352990008828gmail-rich-diff-level-one" style="box-sizing:border-box;color:rgb(106,115,125)"><span class="m_-8820131352990008828gmail-pl-c" style="box-sizing:border-box">"</span>Display reverse; reverse.<span class="m_-8820131352990008828gmail-pl-c" style="box-sizing:border-box">"</span></span> <span class="m_-8820131352990008828gmail-pl-c m_-8820131352990008828gmail-rich-diff-level-one" style="box-sizing:border-box;color:rgb(106,115,125)"><span class="m_-8820131352990008828gmail-pl-c" style="box-sizing:border-box">"</span><-- So we can catch the suspend bug<span class="m_-8820131352990008828gmail-pl-c" style="box-sizing:border-box">"</span></span>
<span class="m_-8820131352990008828gmail-pl-c1 m_-8820131352990008828gmail-rich-diff-level-one" style="box-sizing:border-box;color:rgb(0,92,197)">Processor</span> terminateActive</pre>
</div>
<div>It means that the following code is probably the
shortest way to kill your image (save first!)</div>
<div><br>
</div>
<div>
<pre class="m_-8820131352990008828gmail-rich-diff-level-zero" style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;margin-top:0px;margin-bottom:16px;word-wrap:normal;padding:10px 20px;overflow:auto;line-height:1.45;background-color:rgb(246,248,250);border-radius:3px;margin-left:15px;color:rgb(36,41,46)"><span class="m_-8820131352990008828gmail-pl-c1 m_-8820131352990008828gmail-rich-diff-level-one" style="box-sizing:border-box;color:rgb(0,92,197)">nil</span> suspend</pre>
</div>
<div>It terminates a UI process if evaluated from anywhere
using CMD+d :D</div>
<br clear="all">
<div>
<div class="m_-8820131352990008828gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">Cheers,
<div>Alex</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">
</pre>
</blockquote>
<br>
</body>
</html>