ghc-heap-view icon indicating copy to clipboard operation
ghc-heap-view copied to clipboard

Extract the heap representation of Haskell values and thunks

Results 9 ghc-heap-view issues
Sort by recently updated
recently updated
newest added

The package `inline-java` is using `ghc-heap-view` to discern the types of some `ConsClosure` values which types are otherwise ignored at runtime. This is likely to change soon, but in the...

I believe I figured out why the disassembler started acting up. Since [this commit](https://gitlab.haskell.org/ghc/ghc/-/commit/c8c44fd91b509b9eb644c826497ed5268e89363a?page=2#539d43389593f2626a387f2c904f03c215c7c802_848_932) the BRK_FUN op has an extra argument. This creates an off-by-one error in the disassembler for...

The package description says to `cabal install` the package and that that will explain how to add the `:printHeap` command. However, `cabal install ghc-heap-view` fails with current cabal, since the...

Hi Joachim! Here's a PR that converts a HeapGraph to a fgl Graph, which you can use to do More Things with it such as output to DOT format. [ghc-vis](https://github.com/def-/ghc-vis)...

The docs say > As this is tied to the internals of the compiler, it only works with specific versions. This version supports, GHC 8.8. For GHC 8.6 use version...

Sorry, I got another one. This time the behavior seems deterministic. I wonder if you can see it, too? Same setup as in #2. In fact, the second error looks...

It was difficult to diagnose a problem, because the thing just spewed that head was applied to an empty list, and there was no clue, whether it was my code,...

Hi @nomeata, Ive been using `ghc-datasize` which sits on top of `ghc-heap-view` and getting some strange errors out of the GHC RTS with both ghc-7.10.3 and ghc-8.0.1. I raised a...

For example, I've written this code trying to observe evaluation process of foldr and foldl, but it end up to a dead loop. Maybe it's because `buildHeapGraph a` would trigger...