caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] ocamldebug and windows
@ 2002-10-21 10:43 Dmitry Bely
  2002-10-21 13:21 ` Xavier Leroy
  0 siblings, 1 reply; 9+ messages in thread
From: Dmitry Bely @ 2002-10-21 10:43 UTC (permalink / raw)
  To: caml-list

I am just curious why ocamldebug cannot work in the native Win32
Ocaml. Having searched the mailing list archives, I found the following
Xavier Leroy's article

http://caml.inria.fr/archives/199903/msg00014.html

where he explains that two main problems are (1) absense of checkpointing
facilities and (2) absense of unix sockets equivalent.

Ocaml debugger normally implements checkpoins via fork() syscall, which is
not available under Win32. But why simply not to use
ReadProcessMemory()/WriteProcessMemory() Win32 API functions to
save/restore the process memory image? I think it should be relatively
easy (BTW Cygwin uses these functions in its fork() implementation).

As for Unix sockets, Win32 has almost the same thing: named pipes.

So maybe is time to bring ocamldebug to Win32? :-)

- Dmitry Bely


-------------------
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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2002-10-23  6:47 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-21 10:43 [Caml-list] ocamldebug and windows Dmitry Bely
2002-10-21 13:21 ` Xavier Leroy
2002-10-21 14:17   ` Dmitry Bely
2002-10-22  7:57     ` Xavier Leroy
2002-10-22 11:23       ` Nicolas Cannasse
2002-10-22 15:56       ` Chris Hecker
2002-10-22 16:42         ` Mattias Waldau
2002-10-22 20:46           ` Pierre Weis
2002-10-23  6:58         ` Alessandro Baretta

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).