Send Beginners mailing list submissions to
[email protected]
To subscribe or unsubscribe via the World Wide Web, visit
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
or, via email, send a message with subject or body 'help' to
[email protected]
You can reach the person managing the list at
[email protected]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Beginners digest..."
Today's Topics:
1. Debugging in Haskell (Dimitri DeFigueiredo)
2. Re: Debugging in Haskell (emacstheviking)
----------------------------------------------------------------------
Message: 1
Date: Wed, 08 Apr 2015 18:21:05 -0700
From: Dimitri DeFigueiredo <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: [Haskell-beginners] Debugging in Haskell
Message-ID: <[email protected]>
Content-Type: text/plain; charset=windows-1252; format=flowed
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?
Thank you,
Dimitri
------------------------------
Message: 2
Date: Thu, 9 Apr 2015 10:03:45 +0100
From: emacstheviking <[email protected]>
To: The Haskell-Beginners Mailing List - Discussion of primarily
beginner-level topics related to Haskell <[email protected]>
Subject: Re: [Haskell-beginners] Debugging in Haskell
Message-ID:
<caeieuuj7t5vw4ycq9ychfwepieeenhpk8muimhtwdbbe07p...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
That's interesting.
I must confess that I find the need to debug in Haskell greatly reduced
because I tend to design stuff in small incremental steps in ghci / emac in
a Lisp like way which means that I am reasoning out my code as I write it
which usually means there are no logical bugs at least.
However I can see the need on occasion to maybe debug into issues relating
to threads / STM and behaviours between processes in general.
Have you tried using Leksah, the Haskell IDE?
On 9 April 2015 at 02:21, Dimitri DeFigueiredo <[email protected]>
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?
>
> Thank you,
>
> Dimitri
>
> _______________________________________________
> Beginners mailing list
> [email protected]
> http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mail.haskell.org/pipermail/beginners/attachments/20150409/81229e78/attachment-0001.html>
------------------------------
Subject: Digest Footer
_______________________________________________
Beginners mailing list
[email protected]
http://mail.haskell.org/cgi-bin/mailman/listinfo/beginners
------------------------------
End of Beginners Digest, Vol 82, Issue 8
****************************************