<br><br><div class="gmail_quote">On Wed, Apr 27, 2011 at 11:31 AM, Marcus Denker <span dir="ltr">&lt;<a href="mailto:marcus.denker@inria.fr">marcus.denker@inria.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
On Apr 24, 2011, at 5:12 PM, Mariano Martinez Peck wrote:<br>
<br>
&gt; grrrr I don&#39;t know what is happening. I am building a PharoDev 1.3 and at the end, I do: Undeclared removeUnreferencedKeys<br>
&gt; but this throws an error that I attach. It is a big loop of such error.<br>
&gt; The progress bar is showing &quot;Clean up in DebuggerMethodMap&quot;<br>
&gt;<br>
<br>
So I added the DebuggerMethodMap intialize (reset the cache) to Smalltalk cleanUp.<br>
<br>
But why is that called when calling &quot;Undeclared removeUnreferencedKeys&quot;?<br></blockquote><div><br></div><div>Because the  DebuggerMethodMap holds onto older versions of methods and these can be sources of undeclared references.  If DebuggerMethodMap&#39;s collection of methods is properly weak then this isn&#39;t an issue but in practice this belt-and-braces approach is more robust.</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
&gt;<br>
&gt; In addition Undeclared  -&gt;&gt;&gt;&gt;   a Dictionary(#NoSuchElementError-&gt;nil )<br>
&gt; I checked  <a href="http://code.google.com/p/pharo/issues/detail?id=4043" target="_blank">http://code.google.com/p/pharo/issues/detail?id=4043</a>  but there is no such method.<br>
<br>
NoSuchElementError looks like an exception subclass to me. Is it references somewhere?<br>
<br>
&gt; Now...if I execute Undeclared removeUnreferencedKeys again, it works.<br>
&gt;<br>
&gt; The bad news is that this prevents the PharoDev 1.3 to be build....<br>
&gt;<br>
&gt; I have no clue of what can be happening, but the only way I found so far to reproduce it is to:<br>
&gt;<br>
&gt; Gofer new<br>
&gt; squeaksource: &#39;PharoTaskForces&#39;;<br>
&gt; pacakge: &#39;ConfigurationOfPharo&#39;;<br>
&gt; load.<br>
&gt;<br>
&gt; And then:<br>
&gt;<br>
&gt; (ConfigurationOfPharo project version: &#39;1.3-beta&#39;) load<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Mariano<br>
&gt; <a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br>
&gt;<br>
<font color="#888888"><br>
--<br>
Marcus Denker  -- <a href="http://www.marcusdenker.de" target="_blank">http://www.marcusdenker.de</a><br>
INRIA Lille -- Nord Europe. Team RMoD.<br>
<br>
<br>
</font></blockquote></div><br>