Under linux there is the ptrace syscall for that, is there any alternative for windows to read the cpu register values of another running thread?
I have found this thread, but this user wants to monitor syscalls in general and searched for a ptrace alternative under windows for this specific task, so the answer wouldn't help me for what i want to do.