<br><br><div class="gmail_quote">On Wed, Mar 16, 2011 at 5:11 PM, Igor Stasenko <span dir="ltr"><<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>></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 <<a href="mailto:marianopeck@gmail.com">marianopeck@gmail.com</a>> wrote:<br>
><br>
> I've just create it:<br>
><br>
> StackInterpreterMacOSConfig subclass: #StackInterpreterDebugMacOSConfig<br>
> instanceVariableNames: ''<br>
> classVariableNames: ''<br>
> poolDictionaries: ''<br>
> category: 'CMakeVMMaker'<br>
><br>
> And implemented:<br>
><br>
> StackInterpreterDebugMacOSConfig >> compilerFlags<br>
><br>
> ^ self commonCompilerFlags, ' ' ,self compilerFlagsDebug<br>
><br>
><br>
><br>
> Is this correct ? I would like to complelty debug with XCode out of the box.<br>
><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't belong here, but neither do 'self flag: ...'s belong in the image. */<br>
<br>#ifdef _MSC_VER<br>static void flag(char *ignored) {}<br>#else <---------------- 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>
> Thanks<br>
><br>
> Mariano<br>
><br>
><br>
<font color="#888888"><br>
<br>
<br>
--<br>
Best regards,<br>
Igor Stasenko AKA sig.<br>
</font></blockquote></div><br>