caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Raj Bandyopadhyay <rajb@rice.edu>
To: caml-list@yquem.inria.fr
Subject: Indentifying OCaml exceptions from C
Date: Wed, 30 Apr 2008 11:52:04 -0400	[thread overview]
Message-ID: <481895A4.9080407@rice.edu> (raw)

Hi ocaml folks

I have a C program that makes callbacks to the OCaml runtime via the 
callback_exn() mechanism. Unfortunately, the OCaml code is raising some 
exception. It seems to be one of the built-in OCaml exceptions, and not 
something that I have defined in my OCaml code.

I would like to know what is the easiest/correct way to identify the 
exact OCaml exception being raised, so I can debug this program.

Thank you
Raj


             reply	other threads:[~2008-04-30 16:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-30 15:52 Raj Bandyopadhyay [this message]
2008-05-01  7:46 ` [Caml-list] " Alain Frisch

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=481895A4.9080407@rice.edu \
    --to=rajb@rice.edu \
    --cc=caml-list@yquem.inria.fr \
    /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;
as well as URLs for NNTP newsgroup(s).