<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2003/11/68dddb31f7fc8c2ce41b257386cb2611"
  from="Artem Prisyznuk &lt;tema@s...&gt;"
  author="Artem Prisyznuk"
  date="2003-11-20T17:10:06"
  subject="Re: [Caml-list] exceptions"
  prev="2003/11/a783473d302282d37390638ab8029dfa"
  next="2003/11/c8c057fcc1099e7256ffb1a4b070af84"
  prev-in-thread="2003/11/ece5256b399b770e0935052191c8b872"
  next-in-thread="2003/11/23a879998cfddd8731a76b4f7972603e"
  prev-thread="2003/11/81eb4f0d376b6f9e176101051e0c06b2"
  next-thread="2003/11/5e21cd78e94318bd8f496dda39b97d60"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] exceptions">
<msg 
  url="2003/11/5bd426650020fd2fdf52e8c681dca310"
  from="Christian Schaller &lt;Christian.Schaller@s...&gt;"
  author="Christian Schaller"
  date="2003-11-20T16:20:59"
  subject="[Caml-list] exceptions">
<msg 
  url="2003/11/ece5256b399b770e0935052191c8b872"
  from="Xavier Leroy &lt;xavier.leroy@i...&gt;"
  author="Xavier Leroy"
  date="2003-11-20T16:38:04"
  subject="Re: [Caml-list] exceptions">
<msg 
  url="2003/11/68dddb31f7fc8c2ce41b257386cb2611"
  from="Artem Prisyznuk &lt;tema@s...&gt;"
  author="Artem Prisyznuk"
  date="2003-11-20T17:10:06"
  subject="Re: [Caml-list] exceptions">
</msg>
</msg>
<msg 
  url="2003/11/23a879998cfddd8731a76b4f7972603e"
  from="Artem Prisyznuk &lt;tema@s...&gt;"
  author="Artem Prisyznuk"
  date="2003-11-20T17:05:44"
  subject="Re: [Caml-list] exceptions">
</msg>
</msg>
</thread>

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

&gt; - 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 -&gt; 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

</contents>

</message>

