From: Xavier Leroy <xavier.leroy@inria.fr>
To: Fergus Henderson <fjh@cs.mu.OZ.AU>
Cc: Yoann Padioleau <Yoann.Padioleau@irisa.fr>, caml-list@inria.fr
Subject: Re: [Caml-list] replay debugger
Date: Mon, 26 Nov 2001 17:14:56 +0100 [thread overview]
Message-ID: <20011126171456.B5203@pauillac.inria.fr> (raw)
In-Reply-To: <20011127015149.A10358@earth.cs.mu.oz.au>; from fjh@cs.mu.oz.au on Tue, Nov 27, 2001 at 01:51:50AM +1100
> > Like all "time-travel" debuggers: by periodic checkpointing.
>
> I think that comment could be misleading.
> [Another way to do replay: undo trail]
OK, I agree my comment was an excessive generalization. As you said,
an undo trail can also be maintained, although this is not what the
OCaml debugger does.
> > We learnt this trick from Andrew Tolmach's thesis:
> > http://www.cs.pdx.edu/~apt/thesis.ps.Z
>
> Looking at the details here [or at least those which show up on the first
> few pages -- after that, ghostview reports a Postscript error :-( ],
> it seems that the technique described here is actually much more
> similar to typical Prolog implementations than Ocaml's fork()-based
> implementation. In particular, Tolmach uses a "history log", which
> sounds like it would be pretty much identical to the Prolog trail,
> for recording updates to mutable data structures.
Tolmach's debugger uses a undo trail to deal with I/O and mutable data
structures, but relies on call/cc to do checkpointing on the "control"
part of the program execution. So, it's somewhere in between.
- Xavier Leroy
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
next prev parent reply other threads:[~2001-11-26 16:15 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-02 17:53 Yoann Padioleau
2001-10-04 12:39 ` Xavier Leroy
2001-11-26 14:51 ` Fergus Henderson
2001-11-26 16:14 ` Xavier Leroy [this message]
2001-11-26 18:40 ` [Caml-list] Beware of compare (and Ocaml beaten by Java) Mattias Waldau
2001-11-27 9:21 ` Xavier Leroy
2001-11-27 9:41 ` Mattias Waldau
2001-11-30 9:12 ` Pierre Weis
2001-12-03 21:37 ` Chris Hecker
2001-11-27 17:03 ` [Caml-list] bytegen.comp_expr error when doing object copying Neil Inala
2001-11-28 20:15 ` Xavier Leroy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011126171456.B5203@pauillac.inria.fr \
--to=xavier.leroy@inria.fr \
--cc=Yoann.Padioleau@irisa.fr \
--cc=caml-list@inria.fr \
--cc=fjh@cs.mu.OZ.AU \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox