Ok....I found the problem....it was what you said, but it was difficult for me. <br><br>I had this:<br><br>AbstractCompiledMethodProxy &gt;&gt; doesNotUnderstand: aMessage<br>
    self mareaIsProxyInstalled <br>        ifTrue: [ ^ 
CompiledMethodProxyHandler mareaHandleDoesNotUnderstand: aMessage 
forProxy: self]<br>        ifFalse: [ ^ super doesNotUnderstand: 
aMessage ].<br>    <br>and I thought that ALL classes extend from ProtoObject, and not from nil (I thought the only subclass from nil was ProtoObject). But I was wrong, nil has another subclass: PseudoContext.<br>So...I was trying to swap out/in a CompiledMethod of PseudoContext, which of course, crashed the VM, because the #doesNotUnderstand: was not found in  PseudoContext.<br>
<br>Funny, I learnt :)<br><br>Cheers<br><br>Mariano<br><br><br><div class="gmail_quote">On Tue, Dec 7, 2010 at 1:52 PM, Mariano Martinez Peck <span dir="ltr">&lt;<a href="mailto:marianopeck@gmail.com">marianopeck@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">In my case, the proxy class is CompiledMethodProxy and it is a subclass of AbstractCompiledMethodProxy which is a subclass of ProtoObject.<br>
<br>In AbstractCompiledMethodProxy I have:<br><br>AbstractCompiledMethodProxy &gt;&gt; doesNotUnderstand: aMessage<br>
    self mareaIsProxyInstalled <br>        ifTrue: [ ^ CompiledMethodProxyHandler mareaHandleDoesNotUnderstand: aMessage forProxy: self]<br>        ifFalse: [ ^ super doesNotUnderstand: aMessage ].<br>    <br>    <br>CompiledMethodProxy &gt;&gt; mareaIsProxyInstalled<br>

    ^ fileName isNil not<br><br>Now....I was checking in VM side, method Interpreter &gt;&gt; lookupMethodInClass: class<br>and still cannot understand how can I get a  &#39;Recursive not understood error encountered&#39;  error, because in the previous loop, it MUST find the method dnu, since it is implemented in ProtoObject.  I am confused :(<br>

<br>Thanks in advance for any help<br><font color="#888888"><br>Mariano</font><div><div></div><div class="h5"><br><br><br><br><div class="gmail_quote">On Mon, Dec 6, 2010 at 10:09 PM, Mariano Martinez Peck <span dir="ltr">&lt;<a href="mailto:marianopeck@gmail.com" target="_blank">marianopeck@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><br><br><div class="gmail_quote"><div>On Mon, Dec 6, 2010 at 8:34 PM, John M McIntosh <span dir="ltr">&lt;<a href="mailto:johnmci@smalltalkconsulting.com" target="_blank">johnmci@smalltalkconsulting.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div style="word-wrap: break-word;"><div><br><div><div>On 2010-12-06, at 12:38 AM, Mariano Martinez Peck wrote:</div><blockquote type="cite"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


<div style="word-wrap: break-word;"><div><div>You should look at the Objective-C bridge I wrote  , the Objective-C proxy object  that is based on ProtoObject and contains the </div>
<div>required methods to ensure a debugger will come up. It *does* override does not understand so it can transform the unknown </div><div>message into a primitive call. </div></div></div></blockquote><div><br>Excellent!! How can I load such code?  (squeaksource is down now and I cannot search)<br>



<br>Thanks John!<br><br>Mariano<br> </div></div>
</blockquote><br></div></div><div><span style="font-family: Geneva,Arial,Helvetica,sans-serif; font-size: 13px;"><a title="static project url" href="http://www.squeaksource.com/ObjectiveCBridge2.html" style="color: rgb(54, 0, 132); text-decoration: none;" target="_blank">http://www.squeaksource.com/ObjectiveCBridge2.html</a></span></div>


</div></blockquote></div><div><br>Thanks John, I found it once SqueakSource came back. Now, I still don&#39;t understand how is this (adding some methods to ProtoObject for debugging, inspecting, printing) related to
 the &quot;Recursive not understood error encountered&quot; crash ?  or this is 
just extra help information ? ;)<br> 
<br>Cheers<br><font color="#888888"><br>Mariano <br><br></font></div><div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div style="word-wrap: break-word;">

<div>
<br><div>
<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">


<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">


<div><div style="margin: 0px;"><div style="word-wrap: break-word;"><div style="word-wrap: break-word;"><div style="margin: 0px;"><font face="Helvetica" size="3">--</font></div><div style="margin: 0px;"><font face="Helvetica" size="3">===========================================================================</font></div>


<div style="margin: 0px;"><font face="Helvetica" size="3">John M. McIntosh &lt;<a href="mailto:johnmci@smalltalkconsulting.com" target="_blank">johnmci@smalltalkconsulting.com</a>&gt;   Twitter:  squeaker68882</font></div>


<div style="margin: 0px;"><font face="Helvetica" size="3">Corporate Smalltalk Consulting Ltd.  <a href="http://www.smalltalkconsulting.com" target="_blank">http://www.smalltalkconsulting.com</a></font></div><div style="margin: 0px;">


<font face="Helvetica" size="3">===========================================================================</font></div><div><br></div></div></div></div></div></div></span></div></span><br></span><br>
</div>
<br></div></div></blockquote></div></div><br>
</blockquote></div><br>
</div></div></blockquote></div><br>