views:

641

answers:

2

Reading http://stackoverflow.com/questions/864839/monitoring-certain-system-calls-done-by-a-process I'm wondering about a Windows equivalent to the ptrace syscall or a programatically workaround.

I had an answer in http://stackoverflow.com/questions/865106/is-there-something-like-linux-ptrace-syscall-in-windows but It requires a recent Windows version.

A: 

There is not direct equivalent for ptrace, but if you want a Linux program to run under Windows why not use Cygwin?

Shay Erlichmen
Not trying to run any Linux program under Windows. Not a compatibility question. Thanks anyway.
ktulur
Cygwin doesn't provide ptrace functionality.
Alan S
+1  A: 

ProcMon is a sysinternals utility for doing that. Get it here.

flippy
The question is more about how does ProcMon works...
ktulur