<br><br><div class="gmail_quote">On Wed, Apr 27, 2011 at 11:31 AM, Marcus Denker <span dir="ltr"><<a href="mailto:marcus.denker@inria.fr">marcus.denker@inria.fr</a>></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>
> grrrr I don't know what is happening. I am building a PharoDev 1.3 and at the end, I do: Undeclared removeUnreferencedKeys<br>
> but this throws an error that I attach. It is a big loop of such error.<br>
> The progress bar is showing "Clean up in DebuggerMethodMap"<br>
><br>
<br>
So I added the DebuggerMethodMap intialize (reset the cache) to Smalltalk cleanUp.<br>
<br>
But why is that called when calling "Undeclared removeUnreferencedKeys"?<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's collection of methods is properly weak then this isn'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>
><br>
> In addition Undeclared ->>>> a Dictionary(#NoSuchElementError->nil )<br>
> 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>
> Now...if I execute Undeclared removeUnreferencedKeys again, it works.<br>
><br>
> The bad news is that this prevents the PharoDev 1.3 to be build....<br>
><br>
> I have no clue of what can be happening, but the only way I found so far to reproduce it is to:<br>
><br>
> Gofer new<br>
> squeaksource: 'PharoTaskForces';<br>
> pacakge: 'ConfigurationOfPharo';<br>
> load.<br>
><br>
> And then:<br>
><br>
> (ConfigurationOfPharo project version: '1.3-beta') load<br>
><br>
><br>
><br>
> --<br>
> Mariano<br>
> <a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br>
><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>