ghc-debug-common-0.4.0.0: Connect to a socket created by ghc-debug-stub and analyse the heap of the debuggee program.
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Debug.Decode.Convert

Synopsis

Documentation

convertClosure :: (Num a, Eq a, Show a) => StgInfoTableWithPtr -> GenClosure a -> DebugClosure InfoTablePtr Void InfoTablePtr Void a Source #

Convert a GenClosure from ghc-heap to a DebugClosure.

N.B. This only handles cases not already handled by decodeClosure. Eventually this codepath should be retired.