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 concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by yquem.inria.fr (Postfix) with ESMTP id 71A03BC69 for ; Sat, 31 Mar 2007 22:39:45 +0200 (CEST) Received: from mail.enyo.de (mail.enyo.de [212.9.189.167]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l2VKdiwl014500 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Sat, 31 Mar 2007 22:39:45 +0200 Received: from deneb.vpn.enyo.de ([212.9.189.177] helo=deneb.enyo.de) by mail.enyo.de with esmtp id 1HXkMR-0000of-Vp; Sat, 31 Mar 2007 22:39:44 +0200 Received: from fw by deneb.enyo.de with local (Exim 4.63) (envelope-from ) id 1HXkMP-0002WD-V4; Sat, 31 Mar 2007 22:39:41 +0200 From: Florian Weimer To: "Denis Bueno" Cc: "OCaml Mailing List" Subject: Re: [Caml-list] Getting exception backtraces without exiting ocaml References: <6dbd4d000703310846p64d52e1l5acfe1de40077f00@mail.gmail.com> Date: Sat, 31 Mar 2007 22:39:41 +0200 In-Reply-To: <6dbd4d000703310846p64d52e1l5acfe1de40077f00@mail.gmail.com> (Denis Bueno's message of "Sat, 31 Mar 2007 11:46:59 -0400") Message-ID: <87hcs1m9ki.fsf@mid.deneb.enyo.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Miltered: at concorde with ID 460EC710.001 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; ocaml:01 backtrace:01 ocaml:01 runtime:01 backtrace:01 exception:01 exception:01 caml-list:01 florian:03 seems:03 exit:04 standard:07 written:07 difficult:12 error:12 * Denis Bueno: > Is there a way to get an exception backtrace *without* having to exit > the ocaml runtime? It seems that the backtrace is unconditionally written to standard error, so it will be difficult to obtain it even if you can keep the process around.