<br><br><div class="gmail_quote">On Tue, Apr 26, 2011 at 7:56 AM, Stefan Marr <span dir="ltr">&lt;<a href="mailto:squeak@stefan-marr.de">squeak@stefan-marr.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Hi Mariano:<br>
<div class="im"><br>
<br>
On 26 Apr 2011, at 02:05, Mariano Martinez Peck wrote:<br>
<br>
&gt; Hi guys. I don&#39;t know why but with CMakeVMMaker the asserts are not working.  I can see the flags are being set correct in CmakeList.txt:<br>
&gt;<br>
</div>&gt; -DNDEBUG=1<br>
<br>
I think Igor and Eliot already answered the question,</blockquote><div><br>Hi Stefan. No, they didn&#39;t answer, or yes, they answer but I am so newbie that I don&#39;t see it. My question was why I didn&#39;t see in the gdb console those outputs of those asserts. If I am compiling with  -DNDEBUG=1  I expect the asserts() to be evaluating. And even more, asserta() seems to evaluates always. So...why if I did this:<br>
<br><br>lookupMethodInClass: class<br>    | currentClass dictionary found |<br>    &lt;inline: false&gt;<br>    self asserta: &#39;42&#39; = &#39;cuarenta y tres&#39;.<br>    self assert: &#39;mariano&#39; = &#39;esta perdido&#39;.<br>

    self print: &#39;grrrr&#39;; cr.<br>.....<br><br>and compile the vm and I fire up an iamge...why only &#39;grrr&#39; is printed ??   The TWO previous assert are ignored, even the asserta()<br><br>If this was answered I thanks someone that could explain it again for me :)<br>
<br>thanks in advance<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;"> but since nobody pointed you at this document, I will do it. Might help for future questions:<br>

<br>
  <a href="http://linux.die.net/man/3/assert" target="_blank">http://linux.die.net/man/3/assert</a><br>
<br>
<br>
Best regards<br>
Stefan<br>
<font color="#888888"><br>
--<br>
Stefan Marr<br>
Software Languages Lab<br>
Vrije Universiteit Brussel<br>
Pleinlaan 2 / B-1050 Brussels / Belgium<br>
<a href="http://soft.vub.ac.be/%7Esmarr" target="_blank">http://soft.vub.ac.be/~smarr</a><br>
Phone: <a href="tel:%2B32%202%20629%202974" value="+3226292974">+32 2 629 2974</a><br>
Fax:   <a href="tel:%2B32%202%20629%203525" value="+3226293525">+32 2 629 3525</a><br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Mariano<br><a href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br><br>