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=0.2 required=5.0 tests=AWL autolearn=disabled version=3.1.3 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 18D82BBAF for ; Mon, 1 Sep 2008 20:34:12 +0200 (CEST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApUBAHfSu0jBtPs+mmdsb2JhbACSSAEBAQEBCAUIBxEFoFmBaQ X-IronPort-AV: E=Sophos;i="4.32,309,1217800800"; d="scan'208";a="28700577" Received: from mailgw4.ericsson.se ([193.180.251.62]) by mail4-smtp-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 01 Sep 2008 20:34:11 +0200 Received: from mailgw4.ericsson.se (unknown [127.0.0.1]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 5032E207A3; Mon, 1 Sep 2008 20:34:10 +0200 (CEST) X-AuditID: c1b4fb3e-aae89bb000007a96-af-48bc35a2865c Received: from esealmw129.eemea.ericsson.se (unknown [153.88.254.124]) by mailgw4.ericsson.se (Symantec Mail Security) with ESMTP id 33D4F204BE; Mon, 1 Sep 2008 20:34:10 +0200 (CEST) Received: from esealmw127.eemea.ericsson.se ([153.88.254.171]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Mon, 1 Sep 2008 20:34:09 +0200 Received: from [153.88.54.159] ([153.88.54.159]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830); Mon, 1 Sep 2008 20:34:09 +0200 Message-ID: <48BC35A1.6030209@ericsson.com> Date: Mon, 01 Sep 2008 20:34:09 +0200 From: "Ulf Wiger (TN/EAB)" User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Luca de Alfaro Cc: caml-list@yquem.inria.fr Subject: Re: [Caml-list] Ocaml, a practical functional language? References: <200809011237.00069.peng.zang@gmail.com> <28fa90930809011048l60d1fb7fmc31a11e3f69c3f92@mail.gmail.com> In-Reply-To: <28fa90930809011048l60d1fb7fmc31a11e3f69c3f92@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 01 Sep 2008 18:34:09.0245 (UTC) FILETIME=[528308D0:01C90C61] X-Brightmail-Tracker: AAAAAA== X-Spam: no; 0.00; ocaml:01 debugger:01 fwiw:01 ocaml:01 priceless:98 exception:01 exception:01 caml-list:01 exits:02 functional:02 debugging:03 luca:04 invaluable:92 certainly:09 practical:09 Luca de Alfaro skrev: > And where else can you find a debugger that can execute code > (or give you the impression it does) backwards? > This is invaluable when trying to find things like where an > exception is thrown: you simply run the code until it exits > throwing the exception, then you back off a few steps until > you find what is throwing the exception and why. FWIW, Omnis has had this since the early 90's. http://www.omnis.net/products/studio/index.html?detail=whyomnis (I think that's the successor of the Omnis 5 and 7 that I used back then.) I can certainly vouch for the amazing utility of such debugging. It is priceless! I didn't know Ocaml could do that. BR, Ulf W