Re: Compiling with the -T option

Malcolm Wallace <[email protected]> Thu, 13 Nov 2003 10:26:38 +0000
Newsgroups gmane.comp.lang.haskell.nhc.bugs
Organization Dept of Computer Science, University of York
Message-ID <[email protected]>
"emilien beucler" <[email protected]> writes:

> I have problems for running nhc98 with the -T option.
> I use the version 1.16, with Linux Red Hat 9, iget the following error:

The variants of the prelude/runtime libraries for the -T option are
no longer provided/built by default in version 1.16, nor are the
tools for browsing the traces.

> Is there an other way to see the trace of a Haskell program?  (I tried Hat 
> but what i need isn't a tool like that, i really need the TRACE of the 
> execution)

The -T option was just an earlier version of the Hat tracing system.
If you use the current distribution of Hat (1.02), you will achieve
exactly what -T gave you.  The traces generated by Hat are indeed
the full trace of execution.  Perhaps it is the browsing tools which
do not meet your needs?  Maybe you are looking for an "animation" of
how execution proceeds in a lazy language?  (A student is currently
working on developing such a viewer.)

Regards,
    Malcolm