Utilities to debug GHC.HeapView.
Whether to check for cycles
Whether to GC in every step
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.