caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Damien Doligez <damien.doligez@inria.fr>
To: <caml-list@inria.fr>
Subject: Re: [Caml-list] getting stack traces in running code
Date: Wed, 3 Dec 2003 15:19:37 +0100	[thread overview]
Message-ID: <B9F7E47A-259B-11D8-A285-00039310CAE8@inria.fr> (raw)
In-Reply-To: <000201c3b94d$11646b80$0274a8c0@PWARP>

On Wednesday, December 3, 2003, at 04:19 AM, Nicolas Cannasse wrote:

> BTW, if the "print_exception_backtrace" of the caml sources was 
> exported as
> Primitive, we would be able to do it without the need of any C stub : 
> the
> other way to do it is then to run a modified interpreter where 
> CAMLexport
> have been replaced with CAMLprim in backtrace.c....

Don't do that.  print_exception_backtrace returns void, but a CAMLprim
must return a value.  You'll have to make it return Val_unit.

-- Damien

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners


  reply	other threads:[~2003-12-03 14:19 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-02 20:50 Yaron M. Minsky
2003-12-02 21:45 ` Richard Jones
2003-12-02 22:26 ` Issac Trotts
2003-12-03  3:19   ` Nicolas Cannasse
2003-12-03 14:19     ` Damien Doligez [this message]
2003-12-03 18:26     ` Issac Trotts

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=B9F7E47A-259B-11D8-A285-00039310CAE8@inria.fr \
    --to=damien.doligez@inria.fr \
    --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).