projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
daa640e
)
xref to the docs for +RTS -xc
author
Simon Marlow
<simonmar@microsoft.com>
Thu, 17 May 2007 12:00:37 +0000
(12:00 +0000)
committer
Simon Marlow
<simonmar@microsoft.com>
Thu, 17 May 2007 12:00:37 +0000
(12:00 +0000)
docs/users_guide/ghci.xml
patch
|
blob
|
history
diff --git
a/docs/users_guide/ghci.xml
b/docs/users_guide/ghci.xml
index
d8d0a89
..
0f78ebe
100644
(file)
--- 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
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
<para>The GHCi debugger offers a way to hopefully shed some light on
these errors quickly and without modifying or recompiling the source