Conal Elliott  <[EMAIL PROTECTED]> asks:
> Re: ERROR: Control stack overflow
> Would it be reasonably easy for Hugs to give some more information in
> these situations?  - Conal

I think this would be pretty hard to do.
To make sense of the control stack, I think you need to look at the 
 return stack.  The return stack in Hugs is just the C return stack
 and I don't know any way of examining that other than just viewing
 the stack in a C debugger.

In the new runtime system, the return stack and the control stack
will be merged into a single stack.  This ought to be much simpler
to navigate - though it won't help with the problem of mapping an
STG-level state back to a Haskell-level state.

Alastair

Reply via email to