[project @ 2000-07-03 16:06:17 by simonmar]
[ghc-hetmet.git] / ghc / docs / users_guide / debugging.sgml
index e203081..f711a38 100644 (file)
@@ -192,7 +192,7 @@ Some of the most useful ones are:
 <Term><Option>-ddump-parsed</Option>:</Term>
 <ListItem>
 <Para>
-oarser output
+parser output
 </Para>
 </ListItem>
 </VarListEntry>
@@ -204,6 +204,7 @@ renamer output
 </Para>
 </ListItem>
 </VarListEntry>
+
 <VarListEntry>
 <Term><Option>-ddump-tc</Option>:</Term>
 <ListItem>
@@ -212,6 +213,20 @@ typechecker output
 </Para>
 </ListItem>
 </VarListEntry>
+
+<VarListEntry>
+<Term><Option>-ddump-types</Option>:</Term>
+<ListItem>
+<Para>
+Dump a type signature for each value defined at the top level
+of the module.  The list is sorted alphabetically.  
+Using <Option>-dppr-debug</Option> dumps a type signature for
+all the imported and system-defined things as well; useful
+for debugging the compiler.
+</Para>
+</ListItem>
+</VarListEntry>
+
 <VarListEntry>
 <Term><Option>-ddump-deriv</Option>:</Term>
 <ListItem>
@@ -671,3 +686,10 @@ file).
 </Sect2>
 
 </Sect1>
+
+<!-- Emacs stuff:
+     ;;; Local Variables: ***
+     ;;; mode: sgml ***
+     ;;; sgml-parent-document: ("users_guide.sgml" "book" "chapter" "sect1") ***
+     ;;; End: ***
+ -->