From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id DAA28574; Fri, 4 Jan 2002 03:55:16 +0100 (MET) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from nez-perce.inria.fr (nez-perce.inria.fr [192.93.2.78]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id DAA29064 for ; Fri, 4 Jan 2002 03:55:15 +0100 (MET) Received: from stephens.ittc.ku.edu (stephens.ittc.ku.edu [129.237.125.220]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g042tEH04810 for ; Fri, 4 Jan 2002 03:55:14 +0100 (MET) Received: from george.ittc.ku.edu (george.ittc.ku.edu [129.237.126.117]) by stephens.ittc.ku.edu (8.11.2/8.11.2/ITTC-NOSPAM-NOVIRUS-2.2) with ESMTP id g042tDt18710 for ; Thu, 3 Jan 2002 20:55:13 -0600 Received: from localhost by george.ittc.ku.edu (8.9.3/KU-4.0-client) id UAA13921; Thu, 3 Jan 2002 20:55:13 -0600 Date: Thu, 3 Jan 2002 20:55:13 -0600 (CST) From: Magesh Kannan To: caml-list@inria.fr Subject: [Caml-list] Stop at exception Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Hi, I am debugging a large OCaml program and am stuck with an exception. The exception is thrown by a utility function that is invoked several times in the program. I want to know which invocation of the utility function throws the exception. I cannot keep a breakpoint inside the utility function because it is called several times in the program. Is it possible to make the ocaml debugger stop at the invocation where the exception is being thrown? Are there other ways to accomplish the above objective? Thanks, Magesh ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr