<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" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p><b>Steps to reproduce:</b></p>
<p></p>
<ol style="margin-bottom: 0px; margin-top: 0px;">
<li>Debug it:<br>
[^ #foo] <span style="font-size: 12pt;">ensure: [#bar]</span><br>
</li><li><span style="font-size: 12pt;">Press Through two times to get into [#bar].</span></li></ol>
<div><br>
</div>
<div><b>Expected behavior:</b></div>
<p></p>
<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">The stack list should look like this:
<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 class="_rp_T4" id="Item.MessagePartBody"><img size="25591" contenttype="image/png" id="img759699" style="max-width: 99.9%; user-select: none;" contextid="img308429" tabindex="0" src="cid:365dffbc-651c-472c-91de-2779499a9dfe"><br>
</div>
<div class="_rp_T4" id="Item.MessagePartBody"><br>
</div>
<div class="_rp_T4" id="Item.MessagePartBody"><b>Actual behavior:</b></div>
<div class="_rp_T4" id="Item.MessagePartBody">Actually, it looks like this:</div>
<div class="_rp_T4" id="Item.MessagePartBody"><img size="26699" contenttype="image/png" id="img922810" style="max-width: 99.9%; user-select: none;" contextid="img446260" tabindex="0" src="cid:e754f61d-f4bd-4af9-b90b-22c2d2deffa0"><br>
</div>
<div class="_rp_T4" id="Item.MessagePartBody">Selecting the second top context reveals that the list contents are wrong:</div>
<div class="_rp_T4" id="Item.MessagePartBody"><img size="25614" contenttype="image/png" id="img461663" style="max-width: 99.9%; user-select: none;" contextid="img463740" tabindex="0" src="cid:def1c577-b17d-44e6-83b7-110622436635"><br>
</div>
<div class="_rp_T4" id="Item.MessagePartBody"><br>
</div>
<div class="_rp_T4" id="Item.MessagePartBody"><b>Considerations:</b></div>
<div class="_rp_T4" id="Item.MessagePartBody">The failure appears to happen in Debugger >> #newStack:, where the assumption is made that if the new stack is higher by exactly one context compared to the old one (diff = 1), then only the top context could have
 changed. The example shows that this assumption is wrong.</div>
<div class="_rp_T4" id="Item.MessagePartBody">A fix for this particular issue is on the way into the inbox. However, I'm not sure whether it will be an adequate solution but not only an ugly workaround.</div>
<div class="_rp_T4" id="Item.MessagePartBody"><br>
</div>
<div class="_rp_T4" id="Item.MessagePartBody">Is this optimization relevant at all today? I found an older screenshot (in Squeak by Example) that looks as if some previous versions of Squeak may have decompiled all blocks for the #printString representation:</div>
<div class="_rp_T4" id="Item.MessagePartBody"><img size="144591" contenttype="image/png" id="img169044" style="" contextid="img748547" tabindex="0" height="180" width="336" sizeoption="small" src="cid:9b23ddcb-fd0b-4bb8-a07e-574897e57ecb"><br>
</div>
<div class="_rp_T4" id="Item.MessagePartBody"><br>
</div>
<div class="_rp_T4" id="Item.MessagePartBody">Looking forward to your feedback! :-)</div>
<div class="_rp_T4" id="Item.MessagePartBody"><br>
</div>
<div class="_rp_T4" id="Item.MessagePartBody">Best,</div>
<div class="_rp_T4" id="Item.MessagePartBody">Christoph</div>
</div>
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
</div>
</body>
</html>