summaryrefslogtreecommitdiff
path: root/docs/users_guide/debugging.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/users_guide/debugging.rst')
-rw-r--r--docs/users_guide/debugging.rst7
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/users_guide/debugging.rst b/docs/users_guide/debugging.rst
index ab5942ffe7..2039e1268b 100644
--- a/docs/users_guide/debugging.rst
+++ b/docs/users_guide/debugging.rst
@@ -158,7 +158,9 @@ These flags dump various information from GHC's typechecker and renamer.
:shortdesc: Dump typechecker output
:type: dynamic
- Dump typechecker output
+ Dump typechecker output. Note that this hides a great deal of detail by
+ default; you might consider using this with
+ :ghc-flag:`-fprint-typechecker-elaboration`.
.. ghc-flag:: -ddump-tc-ast
:shortdesc: Dump typechecker output as a syntax tree
@@ -213,7 +215,8 @@ subexpression elimination pass.
Print a one-line summary of the size of the Core program at the end
of the optimisation pipeline.
-.. ghc-flag:: -ddump-ds -ddump-ds-preopt
+.. ghc-flag:: -ddump-ds
+ -ddump-ds-preopt
:shortdesc: Dump desugarer output.
:type: dynamic