>> Would it be simple to add an optional limit on the stack depth?

Yes, because the stack is a linked list of objects. Counting them is expensive.

>> Would you do it, or would it be asking for trouble?  Is there a less
>> invasive way to aid in debugging this scenario?

CPUWatcher does something like this, but it also eats valuable CPU cycles.

Cheers,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to