<br><br><div class="gmail_quote">On Thu, Feb 7, 2013 at 11:18 AM, Jeff Gonis <span dir="ltr">&lt;<a href="mailto:jeff.gonis@gmail.com" target="_blank">jeff.gonis@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 dir="ltr">That is awesome.  Getting visibility into the image is exactly what I have been grappling with, so this is a big help.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Feb 7, 2013 at 12:05 PM, Bob Arning <span dir="ltr">&lt;<a href="mailto:arning315@comcast.net" target="_blank">arning315@comcast.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <font face="Georgia">If you can&#39;t see what&#39;s going on inside the
      headless image, </font>getting some sort of picture would be a
    start. Try doing this in the image and save it:<br>
    <br>
    [<br>
        [<br>
            f _ FileDirectory default fileNamed: &#39;allMyProcesses&#39;.<br>
            f nextPutAll: Time now asString; cr.<br>
            Process allInstances do: [ :p |<br>
                p suspendedContext ifNotNilDo: [ :ctxt | f nextPutAll:
    &#39;priority: &#39;,p priority asString; cr;<br>
                    nextPutAll: ctxt longStack; cr; cr]<br>
            ].<br>
            f close.<br>
            (Delay forSeconds: 30) wait<br>
        ] repeat<br>
    ] forkAt: 60<br>
    <br>
    the output might point you to where things stand.</div></blockquote></div></div></blockquote><div><br></div><div>and with the Cog VMs on Mac and Linux sending SIGUSR1 to the VM will get it to print out the same to the console (provided you start the VM from a console).</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"><div><div><br>
    <br>
    <div>On 2/7/13 12:14 PM, Jeff Gonis wrote:<br>
    </div>
    <blockquote type="cite">
      <div dir="ltr">
        <p dir="ltr">Hi everyone,</p>
        <p dir="ltr">I am currently working on getting the Squeak
          Jenkins server to perform benchmarking and so far everything
          is going great except for one thing. When I try to filein code
          implementing some benchmarks into a headless VM, it just
          hangs. If I filein the same file to a non-headless VM
          everything works just fine.</p>
        <p dir="ltr">Seeing as how things only blow up when I am running
          headless, debugging is made somewhat more complicated.</p>
        <p dir="ltr">I was wondering if anyone had some advice on
          getting better debug information from a headless VM, besides
          explicit log statements? I was also wondering if this sort of
          problem is ringing any bells for anyone on the list. I don&#39;t
          really have a good grip on how filein works either, so any
          pointers would be greatly appreciated. Would filein be
          attempting to send ui messages that are failing? I didn&#39;t see
          any user input requests when I filed into a normal VM, so I
          don&#39;t think it is waiting on a response. Any help is
          appreciated.</p>
        <p dir="ltr">Thanks for your time,<br>
          Jeff</p>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      <pre></pre>
    </blockquote>
    <br>
  </div></div></div>

<br><br>
<br></blockquote></div><br></div>
<br><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>best,<div>Eliot</div>