[GOODIE] StackWatcher

avi at beta4.com avi at beta4.com
Sat Aug 30 01:11:46 UTC 2003


from preamble:

"Change Set:		StackWatcher
Date:			29 August 2003
Author:			Avi Bryant

Every once in a while, I crash my image with an infinite recursion.  The
StackWatcher class starts a high priority process that checks the depth
of all process stacks every few seconds, and forces a process to throw a
DeepStackNotification if its stack is obscenely large.

You can control the process with 'StackWatcher start' and 'StackWatcher
stop'.

This is just a quick proof of concept, and has been barely tested, but
it might prove useful to someone.
"!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: StackWatcher.cs.gz
Type: application/octet-stream
Size: 1184 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030829/0fd76895/StackWatcher.cs.obj


More information about the Squeak-dev mailing list