<br><br><div class="gmail_quote">On Fri, Jun 29, 2012 at 2:07 PM, Yoshiki Ohshima <span dir="ltr">&lt;<a href="mailto:Yoshiki.Ohshima@acm.org" target="_blank">Yoshiki.Ohshima@acm.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
At Fri, 29 Jun 2012 13:48:59 -0700,<br>
<div><div class="h5">Eliot Miranda wrote:<br>
&gt;<br>
&gt; On Fri, Jun 29, 2012 at 1:23 PM, Yoshiki Ohshima &lt;<a href="mailto:Yoshiki.Ohshima@acm.org">Yoshiki.Ohshima@acm.org</a>&gt; wrote:<br>
&gt;<br>
&gt;     At 28 Jun 2012 23:55:06 +0000,<br>
&gt;     <a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a> wrote:<br>
&gt;     &gt;<br>
&gt;     &gt; Changes to Trunk (<a href="http://source.squeak.org/trunk.html" target="_blank">http://source.squeak.org/trunk.html</a>) in the last 24 hours:<br>
&gt;     &gt;<br>
&gt;     &gt; <a href="http://lists.squeakfoundation.org/pipermail/packages/2012-June/005402.html" target="_blank">http://lists.squeakfoundation.org/pipermail/packages/2012-June/005402.html</a><br>
&gt;     &gt;<br>
&gt;     &gt; Name: Network-eem.131<br>
&gt;     &gt; Ancestors: Network-dtl.130<br>
&gt;     &gt;<br>
&gt;     &gt; Add some Croquet URI manipulation routines used by the<br>
&gt;     &gt; Cog VMMaker to the base Network package.<br>
&gt;     &gt;<br>
&gt;     &gt; =============================================<br>
&gt;     &gt;<br>
&gt;     &gt; <a href="http://lists.squeakfoundation.org/pipermail/packages/2012-June/005403.html" target="_blank">http://lists.squeakfoundation.org/pipermail/packages/2012-June/005403.html</a><br>
&gt;     &gt;<br>
&gt;     &gt; Name: Kernel-eem.700<br>
&gt;     &gt; Ancestors: Kernel-fbs.699<br>
&gt;     &gt;<br>
&gt;     &gt; Back out of my bogus fix to runUntilErrorOrReturnFrom:.<br>
&gt;     &gt; My &quot;fix&quot; breaks non-local return in the debugger.<br>
&gt;     &gt; I can&#39;t find my original case that justified the new code<br>
&gt;     &gt; (although it was that in the debugger too much stack was<br>
&gt;     &gt; unwound), and so it needs to be backed-out and we need<br>
&gt;     &gt; to find good test cases to fix this correctly.<br>
&gt;     &gt;<br>
&gt;     &gt; =============================================<br>
&gt;<br>
&gt;     The original code was something like:<br>
&gt;<br>
&gt;     ----------------------------------------------<br>
&gt;      Hello,<br>
&gt;<br>
&gt;     I noticed that step executing the following code in debugger yields<br>
&gt;     different results:<br>
&gt;<br>
&gt;     -------------------<br>
&gt;     test<br>
&gt;<br>
&gt;           3 &lt; 4 ifTrue: [<br>
&gt;                   thisContext return: 42].<br>
&gt;           ^ 666.<br>
&gt;     -------------------<br>
&gt;<br>
&gt;     In the normal execution, you get 42 as expected, but if you debug it<br>
&gt;     and step execute, #return: does not actuall return and you get 666.<br>
&gt;     ----------------------------------------------<br>
&gt;<br>
&gt;     But this does not show the problem anymore it seems.  Something else<br>
&gt;     changed since March 13th somehow fixed the problem.<br>
&gt;<br>
&gt; While I know you did spot that problem and we did fix it I also know that the bogus fix for  runUntilErrorOrReturnFrom: was due to a different problem.  In Newspeak we had a case in the<br>
&gt; debugger when one of our application breakpoints fired the debugger cut back too much stack.  Alas I can&#39;t find any notes on that problem or how to reproduce it.  At Cadence we&#39;re investing<br>
&gt; some effort into some good debugger tests.  Perhaps that experience will yield some similar tests for the Squeak debugger.  Avoiding regressions here when trying to fix the execution<br>
&gt; simulation machinery is, um, damned hard :)<br>
<br>
</div></div>Thanks!<br>
<br>
I&#39;m still curious which other change (unintentionally, perhaps)<br>
&quot;fixed&quot; the test case above, however.<br></blockquote><div><br></div><div>+1.  We need debugger tests.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<span class="HOEnZb"><font color="#888888"><br>
-- Yoshiki<br>
<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div><br>