diff --git a/doc/devnotes.rst b/doc/devnotes.rst index 143c5376dabe108aa79db5c266fb03cee592d520..bf8cddfb1fc12457464d08def67e83a6417568f3 100644 --- a/doc/devnotes.rst +++ b/doc/devnotes.rst @@ -130,6 +130,14 @@ what the splices are converted to. This can be done via:: $ make HEXTRA="-ddump-splices" +Or, more interactively:: + + $ ghci + Ξ»> :set -ddump-splices + Ξ»> :l htools/Ganeti/Objects.hs + +And you will get the spliced code as the module is loaded. + To build profiling code you must install the ``ghc-prof`` (or ``gch6-prof``) package, and all the relevant libraries with their ``-prof`` counterparts. If installing libraries through cabal the config