<br><br><div class="gmail_quote">On Sun, Dec 5, 2010 at 9:07 PM, John M McIntosh <span dir="ltr">&lt;<a href="mailto:johnmci@smalltalkconsulting.com">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;">
 <br><div style="word-wrap: break-word;">Mariano, knowing that ProtoObject  does understand doesnotunderstand via is not enough. There are a dozen or two other methods needed <div>in order for a debugger to come up, even to invoke an inspector on ProtoObject subclasses.</div>
</div></blockquote><div><br>Yes, I know that. I even had to implement few extra methods on ProtoObject in order to bring up a debugger. What how is this related to the &quot;Recursive not understood error encountered&quot; crash ?  or this is just extra help information ? ;)<br>
 </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>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><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><br>
<div><div>On 2010-12-05, at 5:57 AM, Mariano Martinez Peck wrote:</div><br><blockquote type="cite"><br><br><div class="gmail_quote">On Sun, Dec 5, 2010 at 8:53 AM, Colin Putney <span dir="ltr">&lt;<a href="mailto:colin@wiresong.com" target="_blank">colin@wiresong.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><br>
On Fri, Dec 3, 2010 at 12:52 PM, Mariano Martinez Peck<br>
&lt;<a href="mailto:marianopeck@gmail.com" target="_blank">marianopeck@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi. I am still playing with Objects as methods, and I am having yet another kind of crash :(<br>
&gt; This time, the image crash with the message &quot;Recursive not understood error encountered&quot;.<br>
&gt; I am completly sure that I am not putting ANY proxy for any method of DNU, so I don&#39;t understand why I get this error.<br>
<br>
</div>Without understanding the details of what you&#39;re doing, let me offer<br>
this: </blockquote><div><br>thanks Colin for the help.<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">try looking for objects that don&#39;t inherit from Object. </blockquote>

<div><br>Ok, there are objects that doesn&#39;t inherit from Object, and even my proxies don&#39;t do that. But.....ProtoObject DOES understands the message #doesNotUnderstand:<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Even if<br>
you aren&#39;t proxying #doesNotUnderstand:, you can get a recursive DNU<br>
if an object that doesn&#39;t understand #doesNotUnderstand: </blockquote><div><br>there cannot be objects that don&#39;t understand #doesNotUnderstand:  since it is implemented in ProtoObject. <br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

gets<br>
*another* message it doesn&#39;t understand.<br>
<br></blockquote><div><br>Anyway, I will think if there can be a situation that happens what you said...maybe there is.<br><br>Thanks a lot !<br><br>mariano<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


Hope this helps.<br>
<font color="#888888"><br>
Colin<br>
</font></blockquote></div><br>
</blockquote></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></div><br></blockquote></div><br>