Dear Shen,
you can run your program in bytecode setting the OCAMLRUNPARAM correctly and you'll see the whole backtrace, like in
OCAMLRUNPARAM=b ./myprogram
hope this helps,
Philippe.
Dear all:My program written in ocaml terminate with the following output:Fatal error: exception Invalid_argument("index out of bounds")So how should I find out the lcoation in source code that raise this exception?Shen