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
[Caml-list] Possible Preprocessor and Debugger Interactions
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2002-10-09 (12:12)
From: Daniel de Rauglaudre <daniel.de_rauglaudre@i...>
Subject: Re: [Caml-list] Possible Preprocessor and Debugger Interactions

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.

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: