| Version 5 (modified by simonmar, 4 years ago) |
|---|
Debugging
This part of the wiki collects all the information related to debugging GHC: that includes debugging the compiler itself, the libraries, the runtime system, the code generator, or the build system.
- Debugging the compiler itself. If you're debugging a compiler panic or some problem in GHC itself, then go to Debugging/Compiler
- Debugging a compiled program. If the compiled program crashes or panics, then go to Debugging/CompiledCode
- Performance debugging.
- Debugging/TickyTicky: for debugging performance-related issues in compiled code. Typically for performance debugging of the Simplifier and Core-level optimisations.
- Debugging/LowLevelProfiling: way to investigate low-level performance, typically for performance debugging of the code generator or RTS.
- Build failures. If you're trying to debug a build failure, then you probably want to look at
- Building/Troubleshooting: Fixing common problems in a GHC build
- Building/Modifying#Debugging: Debugging the build system
