From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@yquem.inria.fr Delivered-To: caml-list@yquem.inria.fr Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by yquem.inria.fr (Postfix) with ESMTP id E67C9BB9A for ; Tue, 8 Nov 2005 10:07:13 +0100 (CET) Received: from pauillac.inria.fr (pauillac.inria.fr [128.93.11.35]) by nez-perce.inria.fr (8.13.0/8.13.0) with ESMTP id jA897DGh005301 for ; Tue, 8 Nov 2005 10:07:13 +0100 Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id KAA31303 for ; Tue, 8 Nov 2005 10:07:12 +0100 (MET) Received: from publilogics.com (pouic.publilogics.com [213.186.50.35]) by concorde.inria.fr (8.13.0/8.13.0) with SMTP id jA897C39032110 for ; Tue, 8 Nov 2005 10:07:12 +0100 Received: (qmail 21689 invoked from network); 8 Nov 2005 09:07:11 -0000 Received: from unknown (HELO PWarp) ([61.213.94.147]) (envelope-sender ) by pouic.publilogics.com (qmail-ldap-1.03) with SMTP for ; 8 Nov 2005 09:07:11 -0000 Message-ID: <001e01c5e443$c7259d40$0c05a8c0@PWarp> From: "Nicolas Cannasse" To: "skaller" , References: <1131416033.23991.57.camel@rosella> Subject: Re: [Caml-list] Seeking exception source Date: Tue, 8 Nov 2005 18:06:57 +0900 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Miltered: at nez-perce with ID 43706AC1.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Miltered: at concorde with ID 43706AC0.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; cannasse:01 ncannasse:01 motion-twin:01 caml-list:01 bytecode:01 ocamlrun:01 backtrace:01 bytecode:01 backtrace:01 cannasse:01 exception:01 nicolas:02 nicolas:02 types:02 debug:04 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.3 >I am occasionally annoyed by Not_found propagating to my > top level function .. meaning the error could be anywhere > at all in my program. At that time the best is to run your program in bytecode with debug infos using ocamlrun -b so you'll get full backtrace informations. It would be better for such debug informations (not all the types but only the bytecode -> source positions) to be included by default, and always have backtrace turned on. Nicolas Cannasse