Trying to get a NN code going

Fergus Henderson fjh@cs.mu.oz.au
Mon, 1 Mar 1999 14:11:50 +1100


On 01-Mar-1999, Richard A. O'Keefe <ok@atlas.otago.ac.nz> wrote:
> What I *do* expect from a Pascal or Ada compiler is that it will
> tell me not just where the 'index out of range' was detected, but
> WHERE IT CAME FROM, e.g. a backtrace of some kind.

This is a quite reasonable expectation even for functional languages.
Since I can't resist the opportunity for a plug ;-), I'll point out that
the current Mercury implementation gives you stack backtraces for these
kinds of runtime errors, so long as you compile with debugging enabled.

-- 
Fergus Henderson <fjh@cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh@128.250.37.3        |     -- the last words of T. S. Garp.