Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: "Christian Schaller" <Christian.Schaller@siemens.com>
To: "Artem Prisyznuk" <tema@sit.kiev.ua>
Cc: <caml-list@inria.fr>
Subject: RE: [Caml-list] exceptions
Date: Fri, 21 Nov 2003 15:06:19 +0100	[thread overview]
Message-ID: <A1364BC6814D92479D4EED572D6F6FD81C4D91@uranus.certw2k.net> (raw)

> 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


             reply	other threads:[~2003-11-21 14:06 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-21 14:06 Christian Schaller [this message]
2003-11-21 14:21 ` Xavier Leroy
2003-11-21 16:32   ` skaller
2003-11-21 21:53   ` Issac Trotts
2003-11-21 22:35     ` Dustin Sallings
2003-11-21 14:22 ` Nicolas Cannasse
2003-11-21 14:27 ` Artem Prisyznuk
  -- strict thread matches above, loose matches on Subject: below --
2003-11-20 16:20 Christian Schaller
2003-11-20 16:38 ` Xavier Leroy
2003-11-20 17:10   ` Artem Prisyznuk
2003-11-20 17:05 ` Artem Prisyznuk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A1364BC6814D92479D4EED572D6F6FD81C4D91@uranus.certw2k.net \
    --to=christian.schaller@siemens.com \
    --cc=caml-list@inria.fr \
    --cc=tema@sit.kiev.ua \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox