Changes between Version 1 and Version 2 of Building/DebuggingGHC
- Timestamp:
- 08/20/09 06:43:00 (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Building/DebuggingGHC
v1 v2 5 5 == Consistency checking flags == 6 6 7 At compile time :7 At compile time (see also the [http://www.haskell.org/ghc/docs/latest/html/users_guide/options-debugging.html relevant User Manual section]): 8 8 9 9 * Add `-dcore-lint` the GHC command line when compiling each Haskell module. This makes GHC type-check the intermediate program after every optimisation pass, which often nails a fault. … … 17 17 * Add `-debug` to the GHC command line when linking. This links the program against a special version of the runtime system that does lots of extra internal consistency checking. Overall performance is significantly reduced. '''Simon: any flags?''' 18 18 19 At run time 19 At run time (see also the [http://www.haskell.org/ghc/docs/latest/html/users_guide/runtime-control.html#rts-options-debugging relevant User Manual section]): 20 20 * Use `+RTS -sstderr` or `+RTS -Sstderr` to watch garbage collection activity. 21 21
