Safe Haskell | None |
---|---|
Language | Haskell2010 |
Utilities to debug GHC.HeapView.
Documentation
:: Bool | Whether to check for cycles |
-> Bool | Whether to GC in every step |
-> Box | The closure to investigate |
-> IO () |
This function walks the heap referenced by the argument, printing the "path", i.e. the pointer indices from the initial to the current closure and the closure itself. When the runtime crashes, the problem is likely related to one of the earlier steps.
isCharCons :: GenClosure Box -> IO Bool Source #
isCons :: GenClosure b -> Maybe (b, b) Source #