From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id OAA20698; Wed, 9 Oct 2002 14:12:27 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id OAA20347 for ; Wed, 9 Oct 2002 14:12:26 +0200 (MET DST) Received: from verdot.inria.fr (verdot.inria.fr [128.93.11.7]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id g99CCP518865 for ; Wed, 9 Oct 2002 14:12:25 +0200 (MET DST) Received: (from ddr@localhost) by verdot.inria.fr (8.9.3/8.9.3) id OAA02625 for caml-list@inria.fr; Wed, 9 Oct 2002 14:12:25 +0200 Date: Wed, 9 Oct 2002 14:12:25 +0200 From: Daniel de Rauglaudre To: caml-list@inria.fr Subject: Re: [Caml-list] Possible Preprocessor and Debugger Interactions Message-ID: <20021009141225.G1703@verdot.inria.fr> References: <200210081735.11126.josh@neurovia.umn.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200210081735.11126.josh@neurovia.umn.edu>; from josh@neurovia.umn.edu on Tue, Oct 08, 2002 at 05:35:11PM -0500 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk 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