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 mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 649537FD8B for ; Fri, 11 Dec 2015 19:58:38 +0100 (CET) IronPort-PHdr: 9a23:RMmKERQo7u9EgqE1t0/Jw9BIONpsv+yvbD5Q0YIujvd0So/mwa64bBCN2/xhgRfzUJnB7Loc0qyN4/6mATRIyK3CmU5BWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYsExnyfTB4Ov7yUtaLyZ/niabqo9X6WEZhunmUWftKNhK4rAHc5IE9oLBJDeIP8CbPuWZCYO9MxGlldhq5lhf44dqsrtY4q3wD89pozcNLUL37cqIkVvQYSW1+ayFmrPHs4DvETQ3H2XsdTmQQnQZPBUCR7hb6WL/6tSv3rOd7xCaANNX2TLsvHz+lqbpoHkzGkiACYnQD8WrXg9Z8xJ0dhVTphRt5zpWeKNWPNfF+Vqrbe94KRGMHWdxeAX8SSrigZpcCWrJSdd1TqJPw8h5X9UOz Authentication-Results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=rich@annexia.org; spf=Pass smtp.mailfrom=rich@annexia.org; spf=Pass smtp.helo=postmaster@annexia.org Received-SPF: None (mail2-smtp-roc.national.inria.fr: no sender authenticity information available from domain of rich@annexia.org) identity=pra; client-ip=80.68.91.176; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="rich@annexia.org"; x-sender="rich@annexia.org"; x-conformance=sidf_compatible Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of rich@annexia.org designates 80.68.91.176 as permitted sender) identity=mailfrom; client-ip=80.68.91.176; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="rich@annexia.org"; x-sender="rich@annexia.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: Pass (mail2-smtp-roc.national.inria.fr: domain of postmaster@annexia.org designates 80.68.91.176 as permitted sender) identity=helo; client-ip=80.68.91.176; receiver=mail2-smtp-roc.national.inria.fr; envelope-from="rich@annexia.org"; x-sender="postmaster@annexia.org"; x-conformance=sidf_compatible; x-record-type="v=spf1" X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0DDBwANHGtW/7BbRFBegzqrSQaVEYYPAoEwOxEBAQEBAQEBAYEJQQ4BgV2CCAEBBDo/EAsYCRMSDwUoIYhGvlkBAQEHAgEghg4+hQeIJoEaBZMCg3ABjTqBZJdCg3M3LIQEPoNagj8BAQE X-IPAS-Result: A0DDBwANHGtW/7BbRFBegzqrSQaVEYYPAoEwOxEBAQEBAQEBAYEJQQ4BgV2CCAEBBDo/EAsYCRMSDwUoIYhGvlkBAQEHAgEghg4+hQeIJoEaBZMCg3ABjTqBZJdCg3M3LIQEPoNagj8BAQE X-IronPort-AV: E=Sophos;i="5.20,414,1444687200"; d="scan'208";a="191638485" Received: from annexia.org ([80.68.91.176]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256; 11 Dec 2015 19:58:37 +0100 Received: from rich by annexia.org with local (Exim 4.84) (envelope-from ) id 1a7Stp-0004E3-58; Fri, 11 Dec 2015 18:58:37 +0000 Date: Fri, 11 Dec 2015 18:58:37 +0000 From: "Richard W.M. Jones" To: John Whitington Cc: "caml-list@inria.fr" Message-ID: <20151211185837.GA9373@annexia.org> References: <5655AE66.6000307@coherentgraphics.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5655AE66.6000307@coherentgraphics.co.uk> User-Agent: Mutt/1.5.23 (2014-03-12) Subject: Re: [Caml-list] Do you use a debugger with OCaml? If not, why not? On Wed, Nov 25, 2015 at 12:49:42PM +0000, John Whitington wrote: > So, I ask: What do you use for debugging small and large OCaml programs? If > not a debugger, why not? What problems prevent it? How does your debugging > process differ when writing OCaml compared with other languages you use? No one seems to have mentioned gdb in this thread. I use it on OCaml programs quite often. It's especially useful for finding bugs in my C libraries :-) In fact I missed gdb when we ported the tools to aarch64 because stack traces didn't work properly for quite a while [now fixed]. Rich. -- Richard Jones Red Hat