<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size: 12pt; color: rgb(0, 0, 0); font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols;">
<p>Hi all,</p>
<p><br>
</p>
<p>I discovered a bug when stepping over a call to Generator >> #nextPut:.</p>
<p>!! Save your image before trying the following !!</p>
<p><br>
</p>
<p></p>
<div>Generator</div>
<div><span style="white-space:pre"></span>on: [:stream | stream <span style="background-color:rgb(190,190,190)">
nextPut: #foo</span>]</div>
<br>
<p></p>
<p><img naturalheight="304" naturalwidth="654" size="43800" id="img765834" style="max-width: 99.9%; user-select: none;" tabindex="0" src="cid:95952b5e-98f1-4447-bd09-29d396961281"><br>
</p>
<p><br>
</p>
<p></p>
<ol style="margin-bottom:0px; margin-top:0px">
<li>Due to multiprocessing implementation of the Generator, pressing over will hang up the current process forever, because the generator is never queried.</li><li>If I press cmd-dot, I get an infinite number of debugger windows that show Context >> #<span>cannotReturn:. This will probably damage your image.</span></li></ol>
<div><br>
</div>
<div>The first is annoying for newcomers, but I see this behavior is reasonable and without the effect of the second, it wouldn't be a big problem.</div>
<div>The second, however, looks like a bigger issue to me. Actually, I think the most serious aspect is that in Squeak 5.1, the same procedure does not crash your image, but you are forwarded to the emergency debugger and can terminate the process:</div>
<div><br>
</div>
<div><img naturalheight="703" naturalwidth="1029" size="185254" id="img183784" height="180" width="263" style="user-select: none;" tabindex="0" src="cid:c8eee8c3-d2de-49c0-b5d4-33bd340d6c98"> <img naturalheight="701" naturalwidth="1028" size="171961" id="img805985" height="180" width="263" style="user-select: none;" tabindex="0" src="cid:6044ecf2-91ab-4f6e-b863-b980586868e9"><br>
</div>
<div><br>
</div>
<div>Also, this is not the first scenario <span style="font-family: Calibri, Helvetica, sans-serif, EmojiFont, "Apple Color Emoji", "Segoe UI Emoji", NotoColorEmoji, "Segoe UI Symbol", "Android Emoji", EmojiSymbols; font-size: 16px;">
in the last time </span>where I got an infinite debugger chain. See <span><a href="http://forum.world.st/BUG-s-in-Context-control-jump-runUntilErrorOrReturnFrom-td5107263.html" class="OWAAutoLink">[BUG(s)] in Context control (#jump, #runUntilErrorOrReturnFrom:)</a> for
 a similar issue. And there were even more situations which I could not yet reproduce exactly.</span></div>
<div><span>I'm afraid that the recent changes to the debuggers might have weakened its ability to detect recursive errors. Can someone else tell about these problems?</span></div>
<div><span><br>
</span></div>
<div><span>I suppose we ignore a large number of recursive errors as in MorphicDebugger >> #<span>openOn:context:label:contents:fullView:, the uiBlock is often triggered as a separate UI message which will be executed after the recursion flag has been cleared
 by the base class.</span></span></div>
<div><span><span><br>
</span></span></div>
<div><span><span>Would be great if someone could have a look at it or share more information :)</span></span></div>
<div><span><span><br>
</span></span></div>
<div><span><span>Best,</span></span></div>
<div><span><span>Christoph</span></span></div>
<div id="Signature">
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:rgb(0,0,0); font-family:Calibri,Helvetica,sans-serif,EmojiFont,"Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<div name="divtagdefaultwrapper" style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:; margin:0">
<div>
<div class="_rp_T4" id="Item.MessagePartBody">
<div class="_rp_U4 ms-font-weight-regular ms-font-color-neutralDark rpHighlightAllClass rpHighlightBodyClass" id="Item.MessageUniqueBody" style="font-family:wf_segoe-ui_normal,"Segoe UI","Segoe WP",Tahoma,Arial,sans-serif,serif,EmojiFont">
<div dir="ltr">
<div id="divtagdefaultwrapper"><font face="Calibri,Helvetica,sans-serif,EmojiFont,Apple Color Emoji,Segoe UI Emoji,NotoColorEmoji,Segoe UI Symbol,Android Emoji,EmojiSymbols">
<div id="Signature">
<div style="margin:0px"><font style="font-family:Calibri,Arial,Helvetica,sans-serif,serif,EmojiFont"></font></div>
</div>
</font></div>
</div>
</div>
</div>
</div>
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
</div>
</body>
</html>