Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- decodeStack :: StackSnapshot -> IO StgStackClosure
- stackFrameSize :: StackFrame -> Int
Stack inspection
decodeStack :: StackSnapshot -> IO StgStackClosure Source #
Decode StackSnapshot
to a StgStackClosure
The return value is the representation of the StgStack
itself.
See Note [Decoding the stack].
stackFrameSize :: StackFrame -> Int Source #
Get the size of the StackFrame
in words.
Includes header and payload. Does not follow pointers.