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 KAA16074; Tue, 9 Sep 2003 10:25:05 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f 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 KAA14188 for ; Tue, 9 Sep 2003 10:25:04 +0200 (MET DST) Received: from pengo.systems.pipex.net (pengo.systems.pipex.net [62.241.160.193]) by concorde.inria.fr (8.11.1/8.11.1) with ESMTP id h898P3f28602 for ; Tue, 9 Sep 2003 10:25:03 +0200 (MET DST) Received: from draco (81-86-132-151.dsl.pipex.com [81.86.132.151]) by pengo.systems.pipex.net (Postfix) with ESMTP id E21204C007B8 for ; Tue, 9 Sep 2003 09:25:00 +0100 (BST) Received: from jim by draco with local (Exim 3.36 #1 (Debian)) id 19wdnr-0000bR-00 for ; Tue, 09 Sep 2003 09:24:47 +0100 Date: Tue, 9 Sep 2003 09:24:47 +0100 From: Jim Farrand To: caml-list@inria.fr Subject: [Caml-list] OCamlRun -D? Message-ID: <20030909082447.GA2187@farrand.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline X-Uptime: 09:16:43 up 1 day, 17:41, 3 users, load average: 0.21, 0.31, 0.39 X-Spam-Info: http://farrand.net/home-spamfilter.shtml User-Agent: Mutt/1.5.4i X-Loop: caml-list@inria.fr X-Spam: no; 0.00; farrand:01 farrand:01 ocamlrun:01 beginners:01 debugger:01 ncurses:01 debugger:01 ncurses:01 externally:01 passing:01 ocamlrun:01 delivers:99 debug:01 ocaml:01 garbage:01 Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk Sorry to those who have seen this, already, I asked on the beginners list with no reply. How can I use the ocaml debugger to debug a program that uses ncurses? I can't run the program from inside the debugger as the mixture of ncurses output from my program, and the non-ncurses output from the debugger produces garbage. The manual seems to hint that I can run the program, and then run the debugger externally (on a different virtual terminal), and then connect the debugger to the program. The key to this is passing the -D parameter to ocamlrun, as mentioned in section 16.8.6 of the manual. Except that ocamlrun does not recognise the -D parameter. :( Thanks in advance, Jim -- Jim Farrand -- NB: I have a spam-filter on my e-mail account. The first time you e-mail me you may be asked to confirm your e-mail address before the system delivers your mail. http://farrand.net/home-spamfilter.shtml ------------------- 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