<br><br><div class="gmail_quote">On Wed, Mar 16, 2011 at 5:11 PM, Igor Stasenko <span dir="ltr">&lt;<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5"><br>
On 16 March 2011 16:58, Mariano Martinez Peck &lt;<a href="mailto:marianopeck@gmail.com">marianopeck@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; I&#39;ve just create it:<br>
&gt;<br>
&gt; StackInterpreterMacOSConfig subclass: #StackInterpreterDebugMacOSConfig<br>
&gt;     instanceVariableNames: &#39;&#39;<br>
&gt;     classVariableNames: &#39;&#39;<br>
&gt;     poolDictionaries: &#39;&#39;<br>
&gt;     category: &#39;CMakeVMMaker&#39;<br>
&gt;<br>
&gt; And implemented:<br>
&gt;<br>
&gt; StackInterpreterDebugMacOSConfig &gt;&gt; compilerFlags<br>
&gt;<br>
&gt;     ^  self commonCompilerFlags, &#39; &#39; ,self compilerFlagsDebug<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Is this correct ?  I would like to complelty debug with XCode out of the box.<br>
&gt;<br>
<br>
</div></div>It you can build VM using this config, and it satisfies your needs<br>
(debug flags etc), then it is correct.  :)<br>
<br></blockquote><div><br>The problem is that I am not sure if it is really correct. I put a breakpoint in lookupMethodInClass(sqInt class). <br>When I enter the XCode debugger, and see the srtacktrace, I go down to the caller: interpret()<br>
and instead of seeing the place inside interpret() where the call to lookupMethodInClass()  is done, the XCode goes to this place:<br><br><br>/* This doesn&#39;t belong here, but neither do &#39;self flag: ...&#39;s belong in the image. */<br>
<br>#ifdef _MSC_VER<br>static void flag(char *ignored) {}<br>#else                         &lt;---------------- HERE<br>static inline void flag(char *ignored) {}<br>#endif<br> <br><br>This seems to be from sqMemoryAccess.h<br>
<br>Any help?  <br><br>thanks<br><br>mariano<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Once you verify, just send me .cs and i will include it.<br>
<br>
<br>
&gt; Thanks<br>
&gt;<br>
&gt; Mariano<br>
&gt;<br>
&gt;<br>
<font color="#888888"><br>
<br>
<br>
--<br>
Best regards,<br>
Igor Stasenko AKA sig.<br>
</font></blockquote></div><br>