[Haskell-cafe] How to catch error in array index when debugging

Adrian Neumann aneumann at inf.fu-berlin.de
Sat Mar 14 06:24:59 EDT 2009

You can use the ghci debugger

 > http://www.haskell.org/ghc/docs/latest/html/users_guide/ghci- 

it can set breakpoints on exceptions.

Am 14.03.2009 um 09:39 schrieb Colin Paul Adams:

> I'm getting a runtime failure "Error in array index". This causes ghci
> to exit.
> Is there a way to get it to break instead, so I can find out which
> function is failing?
> -- 
> Colin Adams
> Preston Lancashire
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: Signierter Teil der Nachricht
Url : http://www.haskell.org/pipermail/haskell-cafe/attachments/20090314/d63ef3e3/PGP.bin

More information about the Haskell-Cafe mailing list