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=1.1 required=5.0 tests=AWL,SPF_NEUTRAL 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 4A401BC0B for ; Thu, 25 Jan 2007 05:57:40 +0100 (CET) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.168]) by discorde.inria.fr (8.13.6/8.13.6) with ESMTP id l0P4vdYv004302 for ; Thu, 25 Jan 2007 05:57:40 +0100 Received: by ug-out-1314.google.com with SMTP id k3so340630ugf for ; Wed, 24 Jan 2007 20:57:39 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Mqelki7uLY2+/fw7A7KzWQffl5vapUtrW4JFtHkj0fT0EHGGfPVECb3sGNBT9biABMP5NfACIKobFXrg6oqgY/yiu4AJnpxsyOfZGgMXQdduPCXxxi37O/q2xr+kgI8p/+Uwlz47WGryqYGdVj9JQy8TWNqBRIDgMXY0KYOyswc= Received: by 10.78.142.14 with SMTP id p14mr18074hud.1169701054010; Wed, 24 Jan 2007 20:57:34 -0800 (PST) Received: by 10.78.100.6 with HTTP; Wed, 24 Jan 2007 20:57:33 -0800 (PST) Message-ID: <6dbd4d000701242057u112f380bq309e3579e984d4ec@mail.gmail.com> Date: Wed, 24 Jan 2007 23:57:33 -0500 From: "Denis Bueno" To: "Jon Harrop" , "OCaml Mailing List" Subject: Re: [Caml-list] Exception backtraces In-Reply-To: <200701250247.39780.jon@ffconsultancy.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <6dbd4d000701221854v1fa172a9k59c0023e382fb2a7@mail.gmail.com> <20070124215329.GA31041@efil.de> <6dbd4d000701241832n40cfd1b8p40fa2300699e086d@mail.gmail.com> <200701250247.39780.jon@ffconsultancy.com> X-j-chkmail-Score: MSGID : 45B838C3.000 on discorde : j-chkmail score : X : 0/20 1 0.000 -> 1 X-Miltered: at discorde with ID 45B838C3.000 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; bytecode:01 camlparam:01 toplevel:01 wrote:01 wrote:01 exception:01 exception:01 caml-list:01 compiling:02 let:03 applied:04 specify:06 specify:06 propagate:07 i'm:09 On 1/24/07, Jon Harrop wrote: > On Thursday 25 January 2007 02:32, 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") > > Can you explain what you want that CAMLPARAM=b does not provide? I want to *catch* the exception and print the relevant information. I don't want to let it propagate to the toplevel. -Denis