caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Brian Brunswick" <caml@skarpsey.demon.co.uk>
To: caml-list@inria.fr
Subject: [Caml-list] ocamldebug any want to print abstract values in functor?
Date: Sat, 1 Sep 2001 23:18:56 +0100	[thread overview]
Message-ID: <20010901231856.A4864@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 - was I missing something there?

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 would
be dangerous (not type safe)

PS - I also failed to use camldebug with lablgtk - should I disable
checkpointing? I don't get any uncaught exception backtrace from code
inside C callbacks either -- been working around things to provoke
bugs outside the gui

-- 
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-01 22:18 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=20010901231856.A4864@skarpsey.demon.co.uk \
    --to=caml@skarpsey.demon.co.uk \
    --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).