From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 4D06EBC75 for ; Thu, 3 Mar 2005 11:16:08 +0100 (CET) Received: from francois.mpi-sb.mpg.de (francois.mpi-sb.mpg.de [139.19.1.2]) by concorde.inria.fr (8.13.0/8.13.0) with ESMTP id j23AG7L5028698 for ; Thu, 3 Mar 2005 11:16:08 +0100 Received: from amavis by francois.mpi-sb.mpg.de with scanned-ok (Exim 3.36 #1 (Debian)) id 1D6nNH-00016V-00 for ; Thu, 03 Mar 2005 11:16:07 +0100 Received: from maildist ([139.19.90.238] helo=mpi-sb.mpg.de) by francois.mpi-sb.mpg.de with esmtp (Exim 3.36 #1 (Debian)) id 1D6nMz-00011v-00 for ; Thu, 03 Mar 2005 11:15:49 +0100 Received: from mpiat2314 (Debian-exim@mpiat2314 [139.19.20.103]) by mpi-sb.mpg.de (8.12.9+Sun/8.12.9) with ESMTP id j23AFnb1022708 for ; Thu, 3 Mar 2005 11:15:49 +0100 (MET) Received: from loopback.mpi-sb.mpg.de ([127.0.0.1] helo=mpiat2314 ident=prevosto) by mpiat2314 with esmtp (Exim 4.34) id 1D6nMy-0007w9-VQ for caml-list@yquem.inria.fr; Thu, 03 Mar 2005 11:15:49 +0100 Date: Thu, 3 Mar 2005 11:15:48 +0100 From: Virgile Prevosto To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Elusive String.blit exception Message-ID: <20050303111548.3d8e211d@mpiat2314> In-Reply-To: <20050303095229.GA32100@furbychan.cocan.org> References: <20050303095229.GA32100@furbychan.cocan.org> X-Mailer: Sylpheed-Claws 1.0.0 (GTK+ 1.2.10; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: by AMaViS perl-11 X-Miltered: at concorde with ID 4226E3E8.000 by Joe's j-chkmail (http://j-chkmail.ensmp.fr)! X-Spam: no; 0.00; caml-list:01 blit:01 backtrace:01 bytecode:01 ocamlc:01 bytecode:01 debugging:01 elusive:98 tutto:98 oggi:98 volta:98 wrote:01 exception:01 exception:01 compile:01 X-Spam-Checker-Version: SpamAssassin 3.0.2 (2004-11-16) on yquem.inria.fr X-Spam-Status: No, score=0.0 required=5.0 tests=none autolearn=disabled version=3.0.2 X-Spam-Level: Le 03/03/2005, =E0 09:52:29 AM, Richard Jones a =E9crit: > On Wed, Mar 02, 2005 at 11:18:35PM -0500, Mike Hamburg wrote: > > Where could this exception be coming from? Is there any way to=20 > > automatically get a backtrace when my program dies on an exception?=20 > >=20 >=20 > Yes. Compile your whole program as bytecode and then export the Just a small addition: when compiling and linking the program, don't forget to add the -g option to ocamlc, so that the generated bytecode contains the necessary debugging informations. --=20 E tutto per oggi, a la prossima volta Virgile