> What would be even more useful would be a tool that told you
> where/why the stack was use by the above declaration.
o configure with --enable-stack-dumps
o increase NUM_STACK in prelude.h so that you get a Control stack
overflow (caught by Hugs) instead of a C stack overflow (segmentation fault)
o increase the value of UPPER_DISP in storage.c
o recompile
o don't install the result as your standard Hugs
(it is much slower)
Run the program again using the new copy of Hugs
You'll get a dump of part of the stack which should give you some
pointers to where/why the overflow occured. Could be more useful but
it's better than nothing.
A