Really nice!<div>Thanks Sean.</div><div><br></div><div>#Luc<br>
<br><br><div class="gmail_quote">2011/12/5 Sean P. DeNigris <span dir="ltr">&lt;<a href="mailto:sean@clipperadams.com">sean@clipperadams.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
The full procedure I followed was:<br>
1. Download (from Jenkins):<br>
  a. the cog source code from Jenkins<br>
<a href="https://ci.lille.inria.fr/pharo/view/Cog/job/Cog%20Git%20Tracker%20(blessed)/lastSuccessfulBuild/artifact/cog.tar.gz" target="_blank">https://ci.lille.inria.fr/pharo/view/Cog/job/Cog%20Git%20Tracker%20(blessed)/lastSuccessfulBuild/artifact/cog.tar.gz</a><br>

  b. the vmmaker image<br>
<a href="https://ci.lille.inria.fr/pharo/view/Cog/job/Cog%20Git%20Tracker%20(blessed)/lastSuccessfulBuild/artifact/vmmaker-image.zip" target="_blank">https://ci.lille.inria.fr/pharo/view/Cog/job/Cog%20Git%20Tracker%20(blessed)/lastSuccessfulBuild/artifact/vmmaker-image.zip</a><br>

2. Setup folders<br>
  a. Unzip cog<br>
  b. Extract the vmmaker image files (image, changes, source) to cog/image<br>
3. Create (Smalltalk part of) hook to skip selector -<br>
CoInterpreter&gt;&gt;commonSend should look like <a href="https://gist.github.com/1434823" target="_blank">https://gist.github.com/1434823</a><br>
4. Generate (Slang and CMake configuration info)<br>
  In the vmmaker image, doIt:<br>
        CogCocoaIOSConfig new &quot;Cocoa Jit&quot;<br>
                addExternalPlugins: #( FT2Plugin );<br>
                generateForDebug; &quot;will be a debug build&quot;<br>
                generateSources; &quot;Slang -&gt; C&quot;<br>
                generate. &quot;CMake configuration&quot;<br>
4. Configure (in this case for Xcode)<br>
  a. From command line, &quot;cd cog/build; cmake -G Xcode&quot;<br>
  b. For Lion: In Xcode, choose gcc as project compiler (project will be in<br>
pwd when you did the CMake i.e. cog/build)<br>
<a href="http://forum.world.st/file/n4161823/Screen_Shot_2011-12-05_at_1.52.24_PM.png" target="_blank">http://forum.world.st/file/n4161823/Screen_Shot_2011-12-05_at_1.52.24_PM.png</a><br>
5. Create (C part of) hook to skip selector<br>
  a. In Xcode, do a text search for &quot;skipMe&quot;, which you&#39;ll find in<br>
gcc3x-cointerp.c<br>
  b. Replace the first branch of the boilerplate conditional to look like<br>
<a href="https://gist.github.com/1434683" target="_blank">https://gist.github.com/1434683</a> (replace selectorToSkip with your selector)<br>
6. Build &amp; Run<br>
  a. Select CogVM from the &quot;Scheme&quot; dropdown<br>
  b. Click the &quot;Run&quot; button<br>
<br>
Your image should run normally (but slowly), skipping the requested<br>
selector. You can even put in some breakpoints and play.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
View this message in context: <a href="http://forum.world.st/Fwd-Oops-I-put-a-halt-in-a-startup-method-tp3800729p4161823.html" target="_blank">http://forum.world.st/Fwd-Oops-I-put-a-halt-in-a-startup-method-tp3800729p4161823.html</a><br>

</font></span><div class="HOEnZb"><div class="h5">Sent from the Smalltalk VM - Beginners mailing list archive at Nabble.com.<br>
_______________________________________________<br>
VM-beginners mailing list<br>
<a href="mailto:VM-beginners@lists.squeakfoundation.org">VM-beginners@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/vm-beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/vm-beginners</a><br>
</div></div></blockquote></div><br></div>