swap leak problem
Simon Marlow
simonmar at microsoft.com
Wed Oct 1 16:06:50 EDT 2003
> This sounds like a good plan (I do have a ghc build around).
> How do I go
> about compiling a debugging RTS?
Add the following to mk/build.mk:
GhcRtsHcOpts = -optc-DDEBUG
GhcRtsCcOpts = -g
then go into ghc/rts and 'make clean && make'. Now rebuild your program
using this GHC (or alternatively add a -L flag pointing to this ghc/rts
directory). Then run it with +RTS -DS -Sstderr, observe it going very
slowly and see if it throws any assertion failures.
Cheers,
Simon
More information about the Haskell-Cafe
mailing list