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 TAA18793; Sun, 30 Jun 2002 19:41:56 +0200 (MET DST) 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 TAA19074 for ; Sun, 30 Jun 2002 19:41:55 +0200 (MET DST) Received: from maild.telia.com (maild.telia.com [194.22.190.101]) by nez-perce.inria.fr (8.11.1/8.11.1) with ESMTP id g5UHfsf27065 for ; Sun, 30 Jun 2002 19:41:55 +0200 (MET DST) Received: from d1o849.telia.com (d1o849.telia.com [213.66.248.241]) by maild.telia.com (8.11.6/8.11.6) with ESMTP id g5UHfn202624; Sun, 30 Jun 2002 19:41:49 +0200 (CEST) Received: from gateway (h190n2fls34o849.telia.com [217.208.235.190]) by d1o849.telia.com (8.10.2/8.10.1) with ESMTP id g5UHfnH03696; Sun, 30 Jun 2002 19:41:49 +0200 (CEST) From: "Mattias Waldau" To: "'Michael Vanier'" , Subject: RE: [Caml-list] debugger questions/feature requests Date: Sun, 30 Jun 2002 19:41:24 +0200 Message-ID: <001101c2205d$627cab20$0900a8c0@gateway> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 In-Reply-To: <200206291042.g5TAg5o15652@orchestra.cs.caltech.edu> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk > I'm just starting to use the ocaml debugger. I notice that > when doing a backtrace, the different stack frames are > identified as character positions in the source code file, > but no line numbers are given. This is a pretty major > annoyance. However, when you go up and down the call stack, > you get the line numbers. Is there any way to put the line > numbers in the backtrace as well? no line numbers, this is a recurrent complaint :-) > > I also would like a way to stop execution at the point at > which an exception was raised. There was a bug in my code > that raised an exception, and the debugger was not helpful in > tracking it down. The last location I could step through > before the exception was raised bore no relation to where the > bug was occurring. I'm not really sure why this was the case. > it does stop at the point. I normally do 'b' to backstep one step and then 'u' one or several times to go up the stack trace. if you use windows and use the debugger under emacs, there is a problem with crlf vs lf. In order to get the cursor at the right position when using camldebug, I have now learned to do dos2unix *.ml* > Sorry to sound so critical; ocaml is really the best language around. > > Mike > ------------------- > To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners ------------------- To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ Beginner's list: http://groups.yahoo.com/group/ocaml_beginners