8.4. Hard-core debugging of GHC-compiled programs

If your program is crashing, you should almost surely file a bug report, as outlined in previous sections.

This section suggests ways to Make Further Progress Anyway.

The first thing to establish is: Is it a garbage-collection (GC) bug? Try your program with a very large heap and a -Sstderr RTS flag.

If it is a GC bug, you may be able to avoid it by using a particular heap size or by using a -G1 runtime flag. (But don't forget to report the bug!!!)

ToDo: more here?