From: Xavier Leroy <Xavier.Leroy@inria.fr>
To: stratula@loria.fr, caml-list@inria.fr
Subject: Re: <cannot fetch remote object> - WHY ?
Date: Thu, 3 Feb 2000 19:28:50 +0100 [thread overview]
Message-ID: <20000203192850.19544@pauillac.inria.fr> (raw)
In-Reply-To: <14479.17696.496132.380433@micutzu.loria.fr>; from Sorin Stratulat on Wed, Jan 26, 2000 at 08:38:03PM +0100
> Unfortunately, I found
> difficulties to convince the debugger to print objects.
> 5. install the printer function my_print_point
> (ocd) install_printer Essai_printer.my_print_point
> 7. print my_p
> (ocd) p my_p
> my_p : point = <cannot fetch remote object>
User-defined printing functions run in the memory space of the
debugger, which is distinct from that of the debugged program.
Structued I/O (output_value/input_value) is used to communicate the
value being printed between the two. Unfotunately, structured I/O is
currently unable to deal with objects and functions, hence the error
you've observed.
> Can somebody tell me the "solution" to print the value "x" of my_p ?
The only solution I can see right now is put a breakpoint in one of
the methods of my_p's class; then, "x" is in scope and "print x"
should show its value.
- Xavier Leroy
prev parent reply other threads:[~2000-02-04 7:48 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-01-26 19:38 Sorin Stratulat
2000-02-03 18:28 ` Xavier Leroy [this message]
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=20000203192850.19544@pauillac.inria.fr \
--to=xavier.leroy@inria.fr \
--cc=caml-list@inria.fr \
--cc=stratula@loria.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