Version française
Home     About     Download     Resources     Contact us    
Browse thread
RE: [Caml-list] exceptions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Issac Trotts <ijtrotts@c...>
Subject: Re: [Caml-list] exceptions
On Fri, Nov 21, 2003 at 03:21:39PM +0100, Xavier Leroy wrote:
> > > Fatal error: exception Not_found
> > > Raised at file "test.ml", line 1, character 15
> > 
> > This doesn't work for me :(  I compile with ocamlc -g.  After starting
> > the program, I get
> > 
> > Fatal error: exception Failure("nth")
> > Raised at module Pervasives, character 1086
> > Called from module Foo, character 2711
> > 
> > What am I doing wrong?  My ocaml is version 3.06.
> 
> You need 3.07 to get file names and line numbers in backtraces.  
> In 3.06 and earlier, M-x goto-char is your friend...

... and for vim users, it's :goto 2711 . 

-- 
Issac Trotts

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners