From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from weis@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id SAA24029 for caml-red; Thu, 29 Jun 2000 18:59:14 +0200 (MET DST) Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id BAA30230 for ; Thu, 29 Jun 2000 01:25:03 +0200 (MET DST) Received: from leetch.pasture.cow (c1035146-a.pinol1.sfba.home.com [24.14.146.184]) by concorde.inria.fr (8.10.0/8.10.0) with SMTP id e5SNP2X22594 for ; Thu, 29 Jun 2000 01:25:02 +0200 (MET DST) Received: (qmail 14260 invoked by uid 1000); 28 Jun 2000 23:24:39 -0000 From: "Scott McPeak" Date: Wed, 28 Jun 2000 16:24:39 -0700 (PDT) To: caml-list@inria.fr Subject: how to set breakpoint at exception throw? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: weis@pauillac.inria.fr In the debugger, I'd like to put a breakpoint essentially in the 'raise' function. The idea is to get control whenever an exception is raised, and be able to take a backtrace. Any ideas on how to do this? Note: I'm mainly interested in exceptions thrown by the runtime (e.g. stack overflow), not those thrown by my own code, so simply wrapping every 'raise' is not enough. -Scott