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 mail4-relais-sop.national.inria.fr (mail4-relais-sop.national.inria.fr [192.134.164.105]) by yquem.inria.fr (Postfix) with ESMTP id 46C07BC57 for ; Mon, 29 Mar 2010 22:58:34 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqgCAK+xsEtQDPIbgmdsb2JhbACPCowdFQEBCwsIBxMDH8ABhQEEgx4 X-IronPort-AV: E=Sophos;i="4.51,330,1267398000"; d="scan'208";a="59897103" Received: from smtp20.orange.fr ([80.12.242.27]) by mail4-smtp-sop.national.inria.fr with ESMTP; 29 Mar 2010 22:58:33 +0200 Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2007.orange.fr (SMTP Server) with ESMTP id 93F0D200057B; Mon, 29 Mar 2010 22:58:33 +0200 (CEST) Received: from me-wanadoo.net (localhost [127.0.0.1]) by mwinf2007.orange.fr (SMTP Server) with ESMTP id 857122000150; Mon, 29 Mar 2010 22:58:33 +0200 (CEST) Received: from [192.168.1.103] (c-67-188-233-64.hsd1.ca.comcast.net [67.188.233.64]) by mwinf2007.orange.fr (SMTP Server) with ESMTP id D545C200057B; Mon, 29 Mar 2010 22:58:32 +0200 (CEST) X-ME-UUID: 20100329205832873.D545C200057B@mwinf2007.orange.fr X-ME-User-Auth: padator@wanadoo.fr Subject: Re: [Caml-list] Backtracting exceptions in toplevel Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=windows-1252 From: Yoann Padioleau In-Reply-To: <4bb0fc46.11b38c0a.3fb3.7cee@mx.google.com> Date: Mon, 29 Mar 2010 13:58:31 -0700 Cc: Content-Transfer-Encoding: quoted-printable Message-Id: <3D028BE7-D934-40EF-803E-76A514B968F3@wanadoo.fr> References: <4bb0fc46.11b38c0a.3fb3.7cee@mx.google.com> To: C.Fr X-Mailer: Apple Mail (2.1077) X-Spam: no; 0.00; toplevel:01 printexc:01 backtrace:01 ocaml:01 backtrace:01 toplevel:01 ocamlrun:01 beginner's:01 ocaml:01 bug:01 beginners:01 wrote:01 stack:01 caml-list:01 caml-list:01 There is Printexc.get_backtrace=20 since ocaml 3.11 I think. On Mar 29, 2010, at 12:15 PM, C. Fr wrote: >=20 > Hello everyone, >=20 > It there a way to get a backtrace for exceptions occurring in the = toplevel > (for example, getting more information when the stack blows)? I=92ve = read that > there was an equivalent of the -b option that ocamlrun uses, but I = couldn=92t > find any subsequent information on it. >=20 > Thanks! >=20 > _______________________________________________ > Caml-list mailing list. Subscription management: > http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list > Archives: http://caml.inria.fr > Beginner's list: http://groups.yahoo.com/group/ocaml_beginners > Bug reports: http://caml.inria.fr/bin/caml-bugs >=20