[squeak-dev] Re: Cannot debug from Process browser

Bert Freudenberg bert at freudenbergs.de
Wed Dec 5 20:55:03 UTC 2012


On 2012-12-05, at 21:49, Bob Arning <arning315 at comcast.net> wrote:

> 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:
>> I hope someone in the VM community will weigh in; is it valid to
>> create a cycle in the linked-list of one Process?

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 -




More information about the Squeak-dev mailing list