how to track down out-of-bounds error?

David Roundy droundy@jdj5.mit.edu
Wed, 28 May 2003 10:26:24 -0400


On Wed, May 28, 2003 at 03:57:48PM +0200, Ketil Z. Malde wrote:
> 
> > Any suggestions how I might most easily track this bug down?
> 
> Did you try compiling with -prof -auto-all, and running with +RTS -xc?

Thanks!  I didn't try that (or know it existed), and it looks like just
what I was looking for.  Fortunately, however, I've already found my bug by
a combination of inspection and good old Debug.Trace (which just served to
show me which file was being read when it crashed).
-- 
David Roundy
http://www.abridgegame.org