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
[Caml-list] Debugging mixed ocaml/C code
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-09-12 (17:31)
From: Yaron M. Minsky <yminsky@C...>
Subject: Re: [Caml-list] Debugging mixed ocaml/C code
The wrappers are part of a larger project which will itself be released
publicly in the next few days.  In any case, I'll post a link to a copy of
just the Berkeley DB wrapper if I remember this evening.  I actually fixed
the bug in question, and the wrapper has decent support for the DB
environments, databases, cursors and transactions.  It's currently
compatible with Berkeley DB 3.3.11 and 3.2.9, but it could be updated for
the 4.x versions without too much work.
I'd be happy to have another pair of eyes on the code.  I find tracking
down bugs in C wrapper code much harder per loen of code than finding bugs
in Caml code proper.

> On 11 Sep 02, Yaron M. Minsky <yminsky@CS.Cornell.EDU> wrote:
>> Does anyone have any suggestions for debugging mixed ocaml/C code?  I
>> have some code that uses a wrapper for the Berkeley DB.
> Yaron,
> I unfortunately don't have any debugging hints for you, but I'm
> interested in hearing more about your BerkeleyDB module.  Do you need
> any help with it?  Will it be available to the public when you're
> done?  I have some projects coming up that will need BerkeleyDB
> access, and I've been putting them off because I didn't feel like
> writing an OCaml interface, but I would be more than happy to help you
> out!
> --
> ;; Erik Arneson <>      JD, Ashland Lodge No. 23 ;;
> ;; GPG Key ID: 2048R/8B4CBC9C    RAM, Siskiyou Chapter No. 21 ;;
> ;; <>     <> ;;

|--------/            Yaron M. Minsky              \--------|
|--------\ /--------|

Open PGP --- KeyID B1FFD916 (new key as of Dec 4th)
Fingerprint: 5BF6 83E1 0CE3 1043 95D8 F8D5 9F12 B3A9 B1FF D916

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: