On Wed, Sep 06, 2006 at 11:34:05AM +0200, Pepe Iborra wrote:
Hi Tamas
There are several ways to debug a Haskell program.
The most advanced ones are based in offline analysis of traces, I
think Hat [1] is the most up-to-date tool for this. There is a Windows
port of Hat at [5].
Another
On 07/09/2006, at 10:53, Tamas K Papp wrote:
Dear Pepe,
Thank you for the information. I finally ended up working with
Debug.Trace, and found the bug very quickly. I also tried Hood, but
couldn't load it in ghci: import Observe can't find the library, but
% locate Observe
Hi,
I would like to learn a reasonable way (ie how others do it) to debug
programs in Haskell. Is it possible to see what's going on when a
function is evaluated? Eg in
f a b = let c = a+b
d = a*b
in c+d
evaluating
f 1 2
would output something like
f called with values
Hi Tamas
There are several ways to debug a Haskell program.
The most advanced ones are based in offline analysis of traces, I
think Hat [1] is the most up-to-date tool for this. There is a Windows
port of Hat at [5].
Another approach is to simply use Debug.Trace. A more powerful
alternative
mnislaih:
Hi Tamas
There are several ways to debug a Haskell program.
The most advanced ones are based in offline analysis of traces, I
think Hat [1] is the most up-to-date tool for this. There is a Windows
port of Hat at [5].
Another approach is to simply use Debug.Trace. A more
Thanks for the suggestion Don,
I started the wiki page at http://haskell.org/haskellwiki/Debugging
On 06/09/06, Donald Bruce Stewart [EMAIL PROTECTED] wrote:
mnislaih:
Hi Tamas
There are several ways to debug a Haskell program.
The most advanced ones are based in offline analysis of