-xc giving very little information

A complex program of mine fails with this message:
Fail: Maybe.fromJust: Nothing
I tried to extract more information about the error by compiling with
-prof -auto-all and running the program with +RTS -xc, as advised on
http://www.haskell.org/hawiki/TipsAndTricks . This yielded exactly one
additional line:

Stefan Reich
A complex program of mine fails with this message:
Fail: Maybe.fromJust: Nothing
I tried to extract more information about the error by compiling with -prof -auto-all and running the program with +RTS -xc, as advised on http://www.haskell.org/hawiki/TipsAndTricks . This yielded exactly one additional line:
This looks like the perfect situation in which to use program tracing through Hat. It will give you stack back-traces and much much more. http://haskell.org/hat/ Unfortunately, Hat is currently limited to ghc version 5.04.3 (i.e. not yet updated to cope with the 6.x series), but perhaps your program is written in sufficiently standard Haskell for this to be no problem? (Hat also works with nhc98.) Regards, Malcolm

On Mon, Jan 05, 2004 at 11:35:37AM +0000, Malcolm Wallace wrote:
Unfortunately, Hat is currently limited to ghc version 5.04.3 (i.e. not yet updated to cope with the 6.x series),
The Debian package works with ghc6.2 (at least the Insort example works for me - I haven't done more with it than that), although some things probably haven't been fixed up in the nicest possible way. You can get the diff at: http://ftp.debian.org/debian/pool/main/h/hat/hat_2.02-6.diff.gz Thanks Ian
participants (3)
-
Ian Lynagh
-
Malcolm Wallace
-
Stefan Reich