Date: Sun, 16 Nov 2003 15:49:22 +0000 Cc: lablgtk at kaba.or.jp Subject: Re: problem with ocamldebug Message-ID: <20031116154922.GA14560 at redhat.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: From: Richard Jones On Sat, Nov 15, 2003 at 05:59:34PM +0100, Henri Dubois-Ferriere wrote: > i am trying to debug a program which is driven by a lablgtk gui. (note > that it is giving unexpected results, but it does not crash in any way) > > i have compiled both the lablgtk libs and my prog with -g. > > when i launch under ocamldebug, the debugger loses its connection with the > running program, and the stack trace shows that it is in somewhere in > the stdlib Map module, with a partial stack trace (because it has > 'Encountered a function with no debugging information'). I have constant problems of this sort trying to use ocamldebug. These days I just add 'prerr_endline's to the code instead. Sad but true. Any movement on getting gdb to work with OCaml code? Rich. -- Richard Jones. http://www.annexia.org/ http://freshmeat.net/users/rwmj Merjis Ltd. http://www.merjis.com/ - improving website return on investment NET::FTPSERVER is a full-featured, secure, configurable, database-backed FTP server written in Perl: http://www.annexia.org/freeware/netftpserver/