> 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
_______________________________________________
Haskell-Cafe mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to