caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Nathaniel J. Gaylinn" <ngaylinn@cs.brown.edu>
To: caml-list@yquem.inria.fr
Subject: OCaml IDE (more advanced debugger features)
Date: Mon, 20 Jun 2005 16:07:45 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.58.0506201607300.2193@point> (raw)


In playing with the debugger, two features which would be very useful to
me came to mind, but I'm not sure if they're even possible with the OCaml
debugger!

Is there any way to see the return value of a function in the debugger? I
can step to any point in the program with relative ease, and I can inspect
the value of any variable in my program while executing it, but how can I
see what a function has returned or is just about to return? Is it
possible? It's a pain to to compute the return value in my head from the
variables and keep track of it in later recursive calls.

Also, is there a way to find which expression is about to be evaluated in
the debugger? It's simple enough to know the character ocaml is about to
progress to, but is there a way to see what specific expression (a range
of text) the debugger is about to look into?

Thanks,

  -- Nate Gaylinn


             reply	other threads:[~2005-06-20 20:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-20 20:07 Nathaniel J. Gaylinn [this message]
2005-06-21  9:54 ` [Caml-list] " Hendrik Tews
2005-06-21 13:53   ` Nathaniel J. Gaylinn

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=Pine.LNX.4.58.0506201607300.2193@point \
    --to=ngaylinn@cs.brown.edu \
    --cc=caml-list@yquem.inria.fr \
    /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;
as well as URLs for NNTP newsgroup(s).