
Hi all, I just installed GHC 6.6 using the PPC binary installer on Mac OS X. I'm having some trouble getting debuggers to work; I have tried both plargleflarp (buddha) and Hat. Neither of them will compile on GHC 6.6 on Mac yet. For anyone in the same situation, how do you survive? I know of no other method of debugging Haskell programs, aside from manually running chunks of the code from within GHCi - but that makes it very difficult to debug nested 'where' functions. Thanks in advance Luke Worth

Luke Worth
I just installed GHC 6.6 using the PPC binary installer on Mac OS X. I'm having some trouble getting debuggers to work; I have tried both plargleflarp (buddha) and Hat. Neither of them will compile on GHC 6.6 on Mac yet.
As an interim measure, I have just made available a 'snapshot' release of Hat-2.05, specifically to ensure that it compiles with ghc-6.6. This is very much a stop-gap. There have been huge changes in the standard base library package since the last full release of Hat, which are not reflected in 2.05. (For example, Parsec and Data.FiniteMap are no longer in base, whilst Data.Map, Data.Set and so on have been added. Hat still has the older API.) The Hat team is planning to rectify these problems shortly, but we are unlikely to be able to make a full release before the end of the year. I hope the 2.05 release is sufficient to meet at least some people's needs in the meantime. Regards, Malcolm

For general info on debugging, make sure to check the wiki page: http://www.haskell.org/haskellwiki/Debugging And while you are there maybe you can add some notes on your experience. In case you want to play with the GHCi debugger, I've been updating the repository with the latest ghc 6.6 patches these days, so it is still alive and working. Unfortunately, you still will need to compile it yourself (just to make it clear, this means compiling a custom version of GHC). Cheers pepe On 23/10/2006, at 14:42, Luke Worth wrote:
Hi all,
I just installed GHC 6.6 using the PPC binary installer on Mac OS X. I'm having some trouble getting debuggers to work; I have tried both plargleflarp (buddha) and Hat. Neither of them will compile on GHC 6.6 on Mac yet. For anyone in the same situation, how do you survive? I know of no other method of debugging Haskell programs, aside from manually running chunks of the code from within GHCi - but that makes it very difficult to debug nested 'where' functions.
Thanks in advance Luke Worth _______________________________________________ Glasgow-haskell-users mailing list Glasgow-haskell-users@haskell.org http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
participants (3)
-
Luke Worth
-
Malcolm Wallace
-
Pepe Iborra