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
ocamldebug with GDB
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Richard Jones <rich@a...>
Subject: Re: [Caml-list] ocamldebug with GDB
On Tue, Aug 12, 2008 at 10:10:48PM -0700, Rob Stites wrote:
> I have used Eclipse with OcamlDE but I would like to use DDD as a
> interface with GDB debugging Ocaml code.  Is it even possible?  If so,
> can you share your experience?  Thanks.   

You can certainly use gdb to debug native OCaml code -- I do it
frequently.  However gdb doesn't understand OCaml code, so you only
get mangled function names & assembler.

Coincidentally a few weeks ago a Red Hat-sponsored project was started
to add good C++ experience to gdb called Project Archer:

We could do with something similar for OCaml ...


Richard Jones
Red Hat