Reliability of trace?

Colin Paul Adams colin at colina.demon.co.uk
Mon Mar 9 07:24:56 EDT 2009


I'm trying to use Debug.Trace to debug some tree-walking that I've
written.

It seems to me that I am missing some traces on intermediate function
calls. I guess that ghc is re-arranging the code in such a way that
some of these intermediate calls disappear. Anyway of stopping this? I
already specify -O0.
-- 
Colin Adams
Preston Lancashire


More information about the Glasgow-haskell-users mailing list