[Haskell-cafe] Debugging hanging template Haskell

Michael Sloan mgsloan at gmail.com
Sat Sep 24 00:54:34 UTC 2016


While not quite what you are looking for, I would suggest doing print
debugging via Debug.Trace.trace or traceShow or traceShowId .  If you
make it print repeatedly, well, that's the bit that is hanging.


On Wed, Sep 21, 2016 at 5:23 PM, Cody Goodman
<codygman.consulting at gmail.com> wrote:
> Can you use the ghci debugger to do this? I tried adding a piece of template
> Haskell to the frames library and now compilation never terminates:
> https://github.com/acowley/Frames/pull/59
> One compiler warning warned me of overlapping instances in relation to my
> ZonedTime lift instance which could totally be wrong.
> I have a feeling maybe the overlapping instances could be making compilation
> hang, but I'm not sure.
> I'm more looking for help on how to move forward and keep debugging this
> than an answer, but if you only have time for an answer I'll gladly do the
> reverse engineering work to teach myself.
> Thanks all!
> _______________________________________________
> Haskell-Cafe mailing list
> To (un)subscribe, modify options or view archives go to:
> http://mail.haskell.org/cgi-bin/mailman/listinfo/haskell-cafe
> Only members subscribed via the mailman list are allowed to post.

More information about the Haskell-Cafe mailing list