Browse thread
[Caml-list] Possible Preprocessor and Debugger Interactions
-
Josh Stern
- Daniel de Rauglaudre
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Daniel de Rauglaudre <daniel.de_rauglaudre@i...> |
| Subject: | Re: [Caml-list] Possible Preprocessor and Debugger Interactions |
Hi On Tue, Oct 08, 2002 at 05:35:11PM -0500, Josh Stern wrote: > For debugging purposes, one would ideally like to query the variable > values using a syntax close to the original source file. A system like Camlp4 could be installed indeed in the debugger (Camlp4 itself would not help since the grammar of the debugger is not the grammar of OCaml). For that, the debugger should call its parsing function through a refeence. That reference could then be modified to specify another parsing function. And the debugger should be able to load an object (cmo) file which could modify that reference. I don't know if somebody have thought of that or implemented something. You may try to ask the ocaml team: perhaps somebody could implement it. -- Daniel de RAUGLAUDRE daniel.de_rauglaudre@inria.fr http://cristal.inria.fr/~ddr/ ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners