[Haskell-beginners] debugging help

Henk-Jan van Tuyl hjgtuyl at chello.nl
Sat Dec 5 23:31:07 UTC 2015


On Sat, 05 Dec 2015 01:50:22 +0100, Dennis Raddle  
<dennis.raddle at gmail.com> wrote:

> I'm getting an error, printf not having enough arguments. I need to find
> where this is happening, and I understand there are ways of getting a  
> stack
> trace, but apparently I need to compile for profiling. That means I need  
> to
> compile my one library dependency (Text.XML.Light) for profiling, I
> believe. How do I do this? I'm on Windows and have only installed  
> libraries
> in the past with cabal.

Try the GHCi debugger:
   https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/ghci-debugger.html

Regards,
Henk-Jan van Tuyl


-- 
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