summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2007-05-17 12:00:37 +0000
committerSimon Marlow <simonmar@microsoft.com>2007-05-17 12:00:37 +0000
commit8c9667e1a1036359f2c656c6cc031d50ae746554 (patch)
tree6dc90ddcbb33751a8464e494028e7f978953094f /docs
parentdaa640e41e5bb964adc385509d97220b96d4ac5e (diff)
downloadhaskell-8c9667e1a1036359f2c656c6cc031d50ae746554.tar.gz
xref to the docs for +RTS -xc
Diffstat (limited to 'docs')
-rw-r--r--docs/users_guide/ghci.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/users_guide/ghci.xml b/docs/users_guide/ghci.xml
index d8d0a89741..0f78ebe97b 100644
--- a/docs/users_guide/ghci.xml
+++ b/docs/users_guide/ghci.xml
@@ -1373,7 +1373,9 @@ a :: a
have no context information attached to them. Finding which
particular call to <literal>head</literal> in your program resulted in
the error can be a painstaking process, usually involving
- <literal>Debug.Trace.trace</literal>.</para>
+ <literal>Debug.Trace.trace</literal>, or compiling with
+ profiling and using <literal>+RTS -xc</literal> (see <xref
+ linkend="prof-time-options" />).</para>
<para>The GHCi debugger offers a way to hopefully shed some light on
these errors quickly and without modifying or recompiling the source