From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.1.3 X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from discorde.inria.fr (discorde.inria.fr [192.93.2.38]) by yquem.inria.fr (Postfix) with ESMTP id C258EBC0C for ; Thu, 25 Jan 2007 04:31:39 +0100 (CET) Received: from smtp.syd.people.net.au (smtp.syd.people.net.au [218.214.225.98]) by discorde.inria.fr (8.13.6/8.13.6) with SMTP id l0P3VZoC024714 for ; Thu, 25 Jan 2007 04:31:38 +0100 Received: (qmail 7915 invoked from network); 25 Jan 2007 03:31:37 -0000 Received: from unknown (HELO coltrane.mega-nerd.net) (218.214.64.136) by smtp.syd.people.net.au with SMTP; 25 Jan 2007 03:31:37 -0000 Received: from coltrane (coltrane [192.168.1.101]) by coltrane.mega-nerd.net (Postfix) with SMTP id A1D5F7B6B for ; Thu, 25 Jan 2007 14:31:28 +1100 (EST) Date: Thu, 25 Jan 2007 14:31:28 +1100 From: Erik de Castro Lopo To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Exception backtraces Message-Id: <20070125143128.842d3c6e.mle+ocaml@mega-nerd.com> In-Reply-To: <6dbd4d000701241832n40cfd1b8p40fa2300699e086d@mail.gmail.com> References: <6dbd4d000701221854v1fa172a9k59c0023e382fb2a7@mail.gmail.com> <20070124215329.GA31041@efil.de> <6dbd4d000701241832n40cfd1b8p40fa2300699e086d@mail.gmail.com> Organization: Erik Conspiracy Secret Labs X-Mailer: Sylpheed version 2.3.0beta5 (GTK+ 2.8.20; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Miltered: at discorde with ID 45B82497.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 bytecode:01 ocaml:01 blog:98 wrote:01 exception:01 exception:01 caml-list:01 compiling:02 erik:04 erik:04 applied:04 specify:06 specify:06 i'm:09 Denis Bueno wrote: > I did see that, but, since I'm compiling into bytecode (which, > granted, I did not specify), I didn't think it applied to me. In any > event, it doesn't specify how exactly to *get* backtraces (apart from > OCAMLPARAM="b") at all. > > Is there a way? I blogged about it here: http://www.mega-nerd.com/erikd/Blog/CodeHacking/Ocaml/exception_backtraces.html Erik -- +-----------------------------------------------------------+ Erik de Castro Lopo +-----------------------------------------------------------+ "A mouse is a device used to point at the xterm you want to type in." -- Kim Alm, a.s.r