From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by sympa.inria.fr (Postfix) with ESMTPS id 25DF27EEB2 for ; Thu, 24 Jan 2013 13:16:06 +0100 (CET) Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of syshen@nudt.edu.cn) identity=pra; client-ip=61.187.54.11; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="syshen@nudt.edu.cn"; x-sender="syshen@nudt.edu.cn"; x-conformance=sidf_compatible Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of syshen@nudt.edu.cn) identity=mailfrom; client-ip=61.187.54.11; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="syshen@nudt.edu.cn"; x-sender="syshen@nudt.edu.cn"; x-conformance=sidf_compatible Received-SPF: None (mail4-smtp-sop.national.inria.fr: no sender authenticity information available from domain of postmaster@nudt.edu.cn) identity=helo; client-ip=61.187.54.11; receiver=mail4-smtp-sop.national.inria.fr; envelope-from="syshen@nudt.edu.cn"; x-sender="postmaster@nudt.edu.cn"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AusHAMUkAVE9uzYL/2dsb2JhbABEhkW2U4FFc4IVgR4JAQI+gQOICJAFjCmOTwiJW4kJjVKCEoEXA4hfjS2QSIMFghc X-IronPort-AV: E=Sophos;i="4.84,529,1355094000"; d="scan'208";a="169513083" Received: from mail.nudt.edu.cn (HELO nudt.edu.cn) ([61.187.54.11]) by mail4-smtp-sop.national.inria.fr with ESMTP; 24 Jan 2013 13:16:02 +0100 Received: by ajax-webmail-coremail.nudt.edu.cn (Coremail) ; Thu, 24 Jan 2013 20:14:46 +0800 (GMT+08:00) Date: Thu, 24 Jan 2013 20:14:46 +0800 (GMT+08:00) From: =?GBK?B?yfLKpNPu?= To: caml-list@inria.fr Message-ID: <24b397e9.3d7.13c6c7b5296.Coremail.syshen@nudt.edu.cn> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3333_642318177.1359029686933" X-Originating-IP: [113.246.243.149] X-Priority: 3 X-Mailer: Coremail Webmail Server Version 4.0.5a build 20121109(20529.5019.5013) Copyright (c) 2002-2013 www.mailtech.cn nudt-out X-SendMailWithSms: false X-CM-TRANSID:AQAAf0D590K3JQFRJvQAAA--.404W X-CM-SenderInfo: xv1vxvnq6q3vvwohv3gofq/1tbiAQADE1C8Ui4F4AAvsL X-Coremail-Antispam: 1Ur529EdanIXcx71UUUUU7IcSsGvfJ3iIAIbVAYjsxI4VW5Jw CS07vEb4IE77IF4wCS07vE1I0E4x80FVAKz4kxMIAIbVAFxVCaYxvI4VCIwcAKzIAtYxBI daVFxhVjvjDU= Subject: [Caml-list] :: how to locate the source of exception ------=_Part_3333_642318177.1359029686933 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: 7bit Dear all: My program written in ocaml terminate with the following output: Fatal error: exception Invalid_argument("index out of bounds") So how should I find out the lcoation in source code that raise this exception? Shen ------=_Part_3333_642318177.1359029686933 Content-Type: text/html; charset=GBK Content-Transfer-Encoding: 7bit Dear all:

My program written in ocaml terminate with the following output:

Fatal error: exception Invalid_argument("index out of bounds")


So how should I find out the lcoation in source code that raise this exception?

Shen
------=_Part_3333_642318177.1359029686933--