Search code examples
haskellshake-build-system

How to debug shake rules execution?


I love Shake as a build system, but one thing I find hard with Shake is to troubleshoot rules triggering issues. I often run into a situation where I think something should not be rebuilt yet it is rebuilt.

What are some guidelines to troubleshoot those kind of issues, beyond staring at the code and thinking hard?


Solution

  • There is a page entitled Debugging on the Shake Website. The HTML profiling reports might also shed some light. The plan is to enhance the HTML profile reports to give a more question/answer style interface, tracked at #446 and #148.