From: Dmitry Bely <dbely@mail.ru>
To: caml-list@inria.fr
Subject: [Caml-list] ocamldebug and windows
Date: Mon, 21 Oct 2002 14:43:00 +0400 [thread overview]
Message-ID: <hefgkr7v.fsf@mail.ru> (raw)
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
next reply other threads:[~2002-10-21 10:43 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-21 10:43 Dmitry Bely [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=hefgkr7v.fsf@mail.ru \
--to=dbely@mail.ru \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox