[Haskell-beginners] Debugging in Haskell

Henk-Jan van Tuyl hjgtuyl at chello.nl
Sun Apr 12 09:09:25 UTC 2015


On Thu, 09 Apr 2015 03:21:05 +0200, Dimitri DeFigueiredo  
<defigueiredo at ucdavis.edu> wrote:

> I need to improve my Haskell debugging skills. I know of quickcheck, but  
> that's for testing. It seems that:
>
> - Debug.Trace and
> - dynamic breakpoints in GHCi
>
> Are the two easy ways to check the state of your program at a specific  
> point in execution.
> Is there another simple tool that I should know about? Any tips?

GHC 7.10 can generate debug information, see the Release notes for version  
7.10.1 [0].

Regards,
Henk-Jan van Tuyl


[0]  
https://downloads.haskell.org/~ghc/7.10.1/docs/html/users_guide/release-7-10-1.html

-- 
Folding at home
What if you could share your unused computer power to help find a cure? In  
just 5 minutes you can join the world's biggest networked computer and get  
us closer sooner. Watch the video.
http://folding.stanford.edu/


http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--


More information about the Beginners mailing list