<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body bgcolor="#ffffff" text="#000000">
    On 28.04.2011 13:25, Mariano Martinez Peck wrote:
    <blockquote
      cite="mid:BANLkTimv4EurqTrVr8_QGNuBbpOpo496mw@mail.gmail.com"
      type="cite">
      <pre wrap=""> </pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      No one?&nbsp; and if I need to intercept this messages inside the VM,
      is there another special place than the regular #commonSend ?<br>
      <br>
      Thanks<br>
      <br>
      <div class="gmail_quote">On Sat, Apr 16, 2011 at 4:05 PM, Mariano
        Martinez Peck <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:marianopeck@gmail.com">marianopeck@gmail.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;">Hi. Sorry for my ignorance, but I remember
          hearing about that evaluating stuff from a workspace may not
          be the best choice when we want to test stuff on Cog. And in
          fact, today I suffered that. I put a breakpoint in the method
          lookup, where the dnu is thrown. And then from a workspace I
          executed:<br>
          <br>
          TestCase new adasdassad<br>
          <br>
          And didn't stop. Then I put that in a method:<br>
          <br>
          MyClass &gt;&gt; blah<br>
          TestCase new asdadsadasda<br>
          <br>
          And did MyClass new blah<br>
          <br>
          and the breakpoint stop....So, can someone explain me what
          black magic happens with the Workspace?&nbsp; is something related
          to the Compiler evaluation ?<br>
          <br>
          Thanks in advance,<br clear="all">
          <font color="#888888"><br>
            -- <br>
            Mariano<br>
            <a moz-do-not-send="true"
              href="http://marianopeck.wordpress.com" target="_blank">http://marianopeck.wordpress.com</a><br>
            <br>
          </font></blockquote>
      </div>
      <br>
      <br clear="all">
      <br>
      -- <br>
      Mariano<br>
      <a moz-do-not-send="true" href="http://marianopeck.wordpress.com"
        target="_blank">http://marianopeck.wordpress.com</a><br>
      <br>
    </blockquote>
    IIRC, code evaluated by doits is always jitted.<br>
    Thus you won't hit a breakpoint in method lookup code which is only
    invoked by non-jitted calls.<br>
    <br>
    In the second case, statement MyClass blah is jitted, and (as long
    as other jitting-conditions have not been met) "TestCase new
    asdadsadasda" is interpreted normally, so the breakpoint is
    encountered.<br>
    <br>
    Cheers,<br>
    Henry<br>
    <br>
  </body>
</html>