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.9 required=5.0 tests=AWL,RCVD_NUMERIC_HELO, SPF_FAIL 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 8648CBC0A for ; Wed, 18 Apr 2007 18:03:29 +0200 (CEST) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by concorde.inria.fr (8.13.6/8.13.6) with ESMTP id l3IG3STW031095 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Wed, 18 Apr 2007 18:03:29 +0200 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HeCcv-0005iQ-AP for caml-list@inria.fr; Wed, 18 Apr 2007 18:03:25 +0200 Received: from 38.96.172.125 ([38.96.172.125]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Apr 2007 18:03:25 +0200 Received: from sds by 38.96.172.125 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Apr 2007 18:03:25 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: caml-list@inria.fr From: Sam Steingold Subject: backtrace output: feature request Date: Wed, 18 Apr 2007 12:03:08 -0400 Message-ID: <4626413C.1030606@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 38.96.172.125 User-Agent: Thunderbird 1.5.0.8 (X11/20061107) Sender: news X-Miltered: at concorde with ID 46264150.003 by Joe's j-chkmail (http://j-chkmail . ensmp . fr)! X-Spam: no; 0.00; backtrace:01 stack:01 foo:01 fprintf:01 stack:01 executables:01 natively:01 output:02 output:02 string:02 gnu:03 compiled:04 sds:07 file:08 feature:08 it appears that starting with 3.10 stack traces for natively compiled executables will be available. thanks! one thing that I would love to see is being able to redirect this output: try Result (foo ()) with e -> fprintf logstream "error: %s" (error_to_string e); stack_trace logstream; Error e so that I can log both errors and their stack traces in a file for later examination, but still continue running. Thanks. Sam.