Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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