Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Artem Prisyznuk <tema@sit.kiev.ua>
To: Xavier Leroy <xavier.leroy@inria.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] exceptions
Date: Thu, 20 Nov 2003 19:10:06 +0200	[thread overview]
Message-ID: <opryx4m4wuafbmjd@uaapc442> (raw)
In-Reply-To: <20031120173802.C14255@pauillac.inria.fr>

On Thu, 20 Nov 2003 17:38:02 +0100, Xavier Leroy <xavier.leroy@inria.fr> 
wrote:

> - Execute your program.  Voila, nice stack backtrace with line numbers.

Is it possible acces to nice backtrace info from bytecode program?

For example:

let bad_fun () =
   raise Not_found;;

let main () =
   try
	bad_fun ()
   with exc -> print_backtrace_log exc



-- 
Artem Prysyznuk
tema@sit.kiev.ua

-------------------
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-11-20 17:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-20 16:20 Christian Schaller
2003-11-20 16:38 ` Xavier Leroy
2003-11-20 17:10   ` Artem Prisyznuk [this message]
2003-11-20 17:05 ` Artem Prisyznuk
2003-11-21 14:06 Christian Schaller
2003-11-21 14:21 ` Xavier Leroy
2003-11-21 16:32   ` skaller
2003-11-21 21:53   ` Issac Trotts
2003-11-21 22:35     ` Dustin Sallings
2003-11-21 14:22 ` Nicolas Cannasse
2003-11-21 14:27 ` Artem Prisyznuk

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=opryx4m4wuafbmjd@uaapc442 \
    --to=tema@sit.kiev.ua \
    --cc=caml-list@inria.fr \
    --cc=xavier.leroy@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