[Haskell-cafe] debugging

Don Stewart dons at galois.com
Thu Nov 5 02:47:27 EST 2009


mhady7:
> can you please let me know how to debug Haskell programs? I got the observe
> module but it is complainnig about some "concurrent " moduel that it can not 
> find . Also, how to change the path that Hugs uses to search for files ?

You should probably upgrade to GHC first (via the Haskell Platform:
http://haskell.org/platform), and then look at Debug.Trace or the GHCi
debugger.

    http://www.haskell.org/ghc/docs/6.10-latest/html/users_guide/ghci-debugger.html

-- Don


More information about the Haskell-Cafe mailing list