Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

Browse thread
[Caml-list] OCamlRun -D?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2003-09-09 (08:25)
From: Jim Farrand <jim@f...>
Subject: [Caml-list] OCamlRun -D?
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 <socket>
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 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.

To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: