Bugs in debuginfo packages

Kevin Kofler kevin.kofler at chello.at
Fri Feb 25 23:17:09 UTC 2011


Ben Boeckel wrote:
> Anything with ghc-* can be ignored; ghc does not have debuginfo in its
> libraries. A list of other Haskell packages which don't fit the ghc-*
> pattern can be gathered as well.

Actually, GHC has something somewhat equivalent to debuginfo, but it's in a
completely different format. See the *-prof subpackages. With those, you can
do profiling and, most importantly, get stack traces, see the -xc option:
http://www.haskell.org/ghc/docs/latest/html/users_guide/runtime-control.html#rts-options-debugging

What there is no support for is really debugging the code, i.e. doing stuff
such as step-by-step execution. It's arguable how useful that'd be in a
functional language, but in any case GHC does not support it.

        Kevin Kofler



More information about the devel mailing list