Debugging Arrays

2003-01-08 Thread Matthew Donadio
Hi all, I am having a tough time debugging an array problem, and I was wondering if anyone had some pointers. I am working on a complicated function that relies on a few mutually recursive arrays (AR parameter estimation using Burg's Method). I am getting a runtime error, index: Index out of

Re: Debugging Arrays

2003-01-08 Thread Hal Daume III
If you're willing to use something other than Hugs, you're set. With GHC or NHC you could use the HAT debugger (www.cs.york.ac.uk/fp/hat/). Or even just with GHC if you compile with -prof -auto-all (for profiling), you can run with +RTS -xc to get a stack backtrace on errors. Otherwise, if you