Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
d9124067
Commit
d9124067
authored
Nov 27, 2010
by
rl@cse.unsw.edu.au
Browse files
Document -ddump-rule-firings and -ddump-rule-rewrites
parent
9c84f11b
Changes
3
Hide whitespace changes
Inline
Side-by-side
docs/users_guide/debugging.xml
View file @
d9124067
...
...
@@ -126,6 +126,28 @@
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>
-ddump-rule-firings
</option>
:
<indexterm><primary><option>
-ddump-rule-firings
</option></primary></indexterm>
</term>
<listitem>
<para>
dumps the names of all rules that fired in this module
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>
-ddump-rule-rewrites
</option>
:
<indexterm><primary><option>
-ddump-rule-rewrites
</option></primary></indexterm>
</term>
<listitem>
<para>
dumps detailed information about all rules that fired in
this module
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
<option>
-ddump-simpl
</option>
:
...
...
docs/users_guide/flags.xml
View file @
d9124067
...
...
@@ -2325,6 +2325,18 @@ phase <replaceable>n</replaceable></entry>
<entry>
dynamic
</entry>
<entry>
-
</entry>
</row>
<row>
<entry><option>
-ddump-rule-firings
</option></entry>
<entry>
Dump rule firing info
</entry>
<entry>
dynamic
</entry>
<entry>
-
</entry>
</row>
<row>
<entry><option>
-ddump-rule-rewrites
</option></entry>
<entry>
Dump detailed rule firing info
</entry>
<entry>
dynamic
</entry>
<entry>
-
</entry>
</row>
<row>
<entry><option>
-ddump-rules
</option></entry>
<entry>
Dump rules
</entry>
...
...
docs/users_guide/glasgow_exts.xml
View file @
d9124067
...
...
@@ -8242,7 +8242,7 @@ Here is an example:
<para>
Use the debug flag
<option>
-ddump-simpl-stats
</option>
to see what rules fired.
If you need more information, then
<option>
-ddump-rule-firings
</option>
shows you
each individual rule firing
in detail
.
each individual rule firing
and
<option>
-ddump-rule-rewrites
</option>
also shows what the code looks like before and after the rewrite
.
</para>
<sect2>
...
...
@@ -8827,7 +8827,8 @@ If you add <option>-dppr-debug</option> you get a more detailed listing.
<listitem>
<para>
Use
<option>
-ddump-rule-firings
</option>
to see in great detail what rules are being fired.
Use
<option>
-ddump-rule-firings
</option>
or
<option>
-ddump-rule-rewrites
</option>
to see in great detail what rules are being fired.
If you add
<option>
-dppr-debug
</option>
you get a still more detailed listing.
</para>
</listitem>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment