Browse thread
RE: [Caml-list] exceptions
- Christian Schaller
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Christian Schaller <Christian.Schaller@s...> |
| Subject: | RE: [Caml-list] exceptions |
> Compile and link your program with -g. After that say
>
> $ export OCAMLRUNPARAM=b
>
> Run your program. If uncaught exception raised backtrace log
> will be print
> on your stderr:
>
> 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.
- Chris
-------------------
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