[Haskell-cafe] How to debug GHC

Frederik Eaton frederik at a5.repetae.net
Fri Sep 2 14:37:14 EDT 2005

> Just more or less as an aside, at its origin in April (!) this thread
> didn't mention any debugger - the question was just how to build ghc
> so that a stack trace would come out.  A real debugger is no replacement
> for that (because you have to be on hand and know how to repeat the problem
> to get anywhere with a debugger), but that's just my opinion.
> 	Donn Cave, donn at drizzle.com

I agree. Some could argue that "stack traces are no replacement for a
debugger" but it is also true that "a debugger is no replacement for
stack traces". :)

I will try the "+RTS -xc -RTS" method, many thanks to everybody for
the advice.



More information about the Haskell-Cafe mailing list