<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Georgia">Poking around a little bit I see an oddity I
      don't immediately understand. </font><font face="Georgia"><font
        face="Georgia">If I do:<br>
        <br>
        [(Delay forSeconds: 100) wait] forkAt: 30<br>
        <br>
        and debug from the ProcessBrowser, the debugger is looking at
        the call stack from my snippet. <br>
        <br>
      </font>If I do:<br>
      <br>
      [(Delay forSeconds: 100) wait] forkAt: 50<br>
      <br>
      then use the ProcessBrowser to debug it, the debugger is always in
      Process&gt;&gt;terminate<br>
      <br>
      I don't imagine this is expected behavior.<br>
      <br>
      Cheers,<br>
      Bob<br>
      <br>
    </font>
    <div class="moz-cite-prefix">On 12/5/12 3:55 PM, Bert Freudenberg
      wrote:<br>
    </div>
    <blockquote
      cite="mid:C371CF48-8A35-461C-BED4-FDC7DE6EF605@freudenbergs.de"
      type="cite">
      <pre wrap="">
On 2012-12-05, at 21:49, Bob Arning <a class="moz-txt-link-rfc2396E" href="mailto:arning315@comcast.net">&lt;arning315@comcast.net&gt;</a> wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">Well, it will happen if you add something to a list that's already there. Try this:

| list link |
list := LinkedList new.
link := Link new.
list add: link.
list add: link.
link explore.

So if you send #resume to a process with priority less than the active process, it might happen. Or if you try to suspend the active process, but it's already on a suspended list.

Cheers,
Bob

On 12/5/12 3:19 PM, Chris Muller wrote:
</pre>
        <blockquote type="cite">
          <pre wrap="">I hope someone in the VM community will weigh in; is it valid to
create a cycle in the linked-list of one Process?
</pre>
        </blockquote>
      </blockquote>
      <pre wrap="">
Yes, it's certainly in the use of the primitive, not the primitive itself.

Why does the process need to be resumed if it's going to be debugged anyway?

- Bert -




</pre>
    </blockquote>
    <br>
  </body>
</html>