caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: brian@ithil.org
To: caml-list@inria.fr
Subject: [Caml-list] ocamldebug, any way to print abstract values?
Date: Fri, 31 Aug 2001 14:22:47 +0100	[thread overview]
Message-ID: <20010831142247.A12232@skarpsey.demon.co.uk> (raw)

Trying to debug something the other day I ran across the problem
that the bug was occuring inside code in a functor, and I was unable
to print values from the debugger for types that were abstract from
the point of view of that code, even when there was a user printer loaded
for that type in terms of outside code. I didn't manage to get anything
to work by including the print function in the functor argument signature
either.

Is there any way around this, or does the debugger need an additional
command to print a value using a particular printer? It looks like it
would be relatively easy to add something like that, but it might
be dangerous.

PS - I also failed to use camldebug with lablgtk - should I disable
checkpointing? I didn't get any uncaught exception backtrace from code
inside C callbacks either.

-- 
Brian_Brunswick____brian@ithil.org____Wit____Disclaimer____!Shortsig_rules!
-------------------
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


                 reply	other threads:[~2001-09-03  9:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20010831142247.A12232@skarpsey.demon.co.uk \
    --to=brian@ithil.org \
    --cc=caml-list@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).