ghc-vis-0.2.1: Live visualization of data structures in GHCi

Maintainerdennis@felsin9.de
Safe HaskellSafe-Infered

GHC.Vis.Internal

Description

 

Synopsis

Documentation

walkHeap :: [(Box, String)] -> IO HeapMapSource

Recursively walk down the heap objects and return the resulting map. This function recognizes loops and avoids them. Big data structures might still be very slow.

parseBoxes :: [(Box, String)] -> IO [[VisObject]]Source

Walk the heap for a list of objects to be visualized and their corresponding names.

parseBoxesHeap :: [(Box, String)] -> IO ([[VisObject]], (Integer, HeapMap, HeapMap))Source

Walk the heap for a list of objects to be visualized and their corresponding names. Also return the resulting HeapMap and another HeapMap that does not contain BCO pointers.

pointersToFollow2 :: Closure -> IO [Box]Source

Follows BCOClosures, but not the debugging data structures (ByteCodeInstr.BreakInfo) of GHC.

showClosure :: Closure -> StringSource

Textual representation of Heap objects, used in the graph visualization.