From 8c9667e1a1036359f2c656c6cc031d50ae746554 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Thu, 17 May 2007 12:00:37 +0000 Subject: [PATCH] xref to the docs for +RTS -xc --- docs/users_guide/ghci.xml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/users_guide/ghci.xml b/docs/users_guide/ghci.xml index d8d0a89..0f78ebe 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 head in your program resulted in the error can be a painstaking process, usually involving - Debug.Trace.trace. + Debug.Trace.trace, or compiling with + profiling and using +RTS -xc (see ). The GHCi debugger offers a way to hopefully shed some light on these errors quickly and without modifying or recompiling the source -- 1.7.10.4