<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi Hernan,</p>
<p><br>
</p>
<p>thanks for the bug report! This is to some extent related to the bugs reported in this thread [1] (debuggers showing up in the wrong process), and I am currently preparing a changeset to fix these issues. Unfortunately, it does not yet resolve your issue.
 I have not yet investigated it in great detail, but this is probably caused by the #runUntilErrorOrReturnFrom: hack, see also this thread [2]. We still should find a patch or a better alternative to it.</p>
<p><br>
</p>
<p>Best,</p>
<p>Christoph</p>
<p><br>
</p>
<p>[1] <a href="http://forum.world.st/I-broke-the-debugger-td5110752.html#a5124736" class="OWAAutoLink" id="LPlnk748662" previewremoved="true">http://forum.world.st/I-broke-the-debugger-td5110752.html#a5124736</a></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">[2] <a href="http://forum.world.st/BUG-REGRESSION-while-debugging-Generator-gt-gt-nextPut-td5108125.html#a5109109" class="OWAAutoLink" id="LPlnk109799" previewremoved="true">http://forum.world.st/BUG-REGRESSION-while-debugging-Generator-gt-gt-nextPut-td5108125.html#a5109109</a></div>
<br>
</div>
<div><font size="2" color="#808080"></font></div>
</div>
</div>
</div>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>Von:</b> Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Hernan Wilkinson <hernan.wilkinson@gmail.com><br>
<b>Gesendet:</b> Mittwoch, 30. Dezember 2020 14:10:05<br>
<b>An:</b> Discussion of Cuis Smalltalk; The general-purpose Squeak developers list; Pharo Development List<br>
<b>Betreff:</b> [squeak-dev] Problem debugging a test with #should:raise:</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hi all,
<div> I'm sending this mail to the three lists because it is an error I found in the three Smalltalks (Squeak, Pharo and Cuis) and maybe we could share the effort to solve it and the solution.</div>
<div> The problem can be reproduce with this test:</div>
<div>test1<br>
<br>
self <br>
should: [ self error: 'something' ]<br>
raise: Error<br>
withExceptionDo: [ :anError |<br>
self assert: 'something different' equals: anError messageText ]</div>
<div><br>
</div>
<div> If you run that test, it will fail of course. So if you go with the debugger to the context that signals de error (self error: 'something') and press restart and then over you will find the error. In the case of Squeak and Cuis, a new debugger is opened
 and you can not do anything with the original one. In the case of Pharo, the debugger stops working (in another try it opened a new debugger also but I could not reproduce it).</div>
<div><br>
</div>
<div> I think the problem is related to the execution simulation but it is not a simple problem... Any idea what it could be?</div>
<div><br>
</div>
<div>Cheers!</div>
<div>Hernan.<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr">
<div><span style="font-size:xx-small;border-collapse:collapse">
<div style="font-size:small">
<div><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span style="font-size:8pt"><span style="font-size:small"><font size="2"><span style="font-weight:normal"><span style="font-weight:bold">Hernán Wilkinson</span><br>
Agile Software Development, Teaching & Coaching</span></font></span></span></strong></span></div>
<div><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span style="font-size:8pt"><span style="font-size:small"><font size="2"><span style="font-weight:normal">Phone: +54-011</span></font></span></span></strong></span><font face="tahoma, sans-serif" size="2">-4893-2057</font></div>
<div><strong style="font-family:tahoma,sans-serif;font-size:xx-small"><span style="font-size:8pt"><span style="font-size:small"><font size="2"><span style="font-weight:normal">Twitter: @HernanWilkinson</span></font></span></span></strong></div>
<div><span style="font-family:tahoma,sans-serif;font-size:xx-small;border-collapse:collapse"><strong><span style="font-size:8pt"><span style="font-size:small"><font size="2"><span style="font-weight:normal">site: <a href="http://www.10pines.com/" style="color:rgb(17,65,112)" target="_blank">http://www.10Pines.com</a></span></font></span></span></strong></span></div>
<div><font face="tahoma, sans-serif"><span style="border-collapse:collapse">Address: Alem 896</span></font>, Floor 6, Buenos Aires, Argentina</div>
</div>
</span></div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>