English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Indentifying OCaml exceptions from C
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2008-04-30 (16:52)
From: Raj Bandyopadhyay <rajb@r...>
Subject: Indentifying OCaml exceptions from C
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