caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Problem with ocamldebug 4.06.0
@ 2018-07-19 14:05 Jocelyn Sérot
  2018-07-19 15:57 ` Gabriel Scherer
  0 siblings, 1 reply; 3+ messages in thread
From: Jocelyn Sérot @ 2018-07-19 14:05 UTC (permalink / raw)
  To: OCaml Mailing List

[-- Attachment #1: Type: text/plain, Size: 1587 bytes --]

Hello,

I’m experiencing problems when using ocamldebug on a large program.
Namely, the debugger quits launching an « Not_found » exception as soon as i try to visualize some program variables (print) or dump thef frame

(ocd) …
(ocd) print t
Removed breakpoint 1 at 958036: file vhdl.ml, line 113, characters 19-30
Uncaught exception: Not_found

OCaml-Debugger exited abnormally with code 2

I’ve started to encounter this problem when i recrafted the program in order to use ocamlbuild and distribute the source code in several directories. 
What is annoying is that the problem is not systematic it seems to dependi on the variable to be printed (or at least on the module where it is defined) - which makes isolating a minimum triggering program difficult :(

So my questions are 

i) is there something special to do when using ocamldebug in a multi-directory source file context ? I of course tried to add « _build » and « subdir/_build » to the debug « path » using the directory command, w/o success

ii) has someone already encountered this problem

iii) is there a way to track down where / why the exception was launched (i.e. to debug the debugger)

iv) is there a chance that the pb is fixed in 4.07.0 (apparently no since nothing is told about ocamldebug in the release doc).

Any help appreciated

Cheers

Jocelyn


-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa.inria.fr/sympa/arc/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

[-- Attachment #2: Type: text/html, Size: 2004 bytes --]

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

end of thread, other threads:[~2018-07-19 16:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-19 14:05 [Caml-list] Problem with ocamldebug 4.06.0 Jocelyn Sérot
2018-07-19 15:57 ` Gabriel Scherer
2018-07-19 16:24   ` Jocelyn Sérot

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