caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* ocamldebug with GDB
@ 2008-08-13  5:10 Rob Stites
  2008-08-13  8:18 ` [Caml-list] " Richard Jones
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Stites @ 2008-08-13  5:10 UTC (permalink / raw)
  To: caml-list

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.   

Rob Stites



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Caml-list] ocamldebug with GDB
  2008-08-13  5:10 ocamldebug with GDB Rob Stites
@ 2008-08-13  8:18 ` Richard Jones
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Jones @ 2008-08-13  8:18 UTC (permalink / raw)
  To: Rob Stites; +Cc: caml-list

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:

  http://sourceware.org/gdb/wiki/ProjectArcher

We could do with something similar for OCaml ...

Rich.

-- 
Richard Jones
Red Hat


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-08-13  8:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-13  5:10 ocamldebug with GDB Rob Stites
2008-08-13  8:18 ` [Caml-list] " Richard Jones

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).