Hi, I am using pykd 0.3.1.7, WinDbg 10.0.14321.1024 AMD64 on Windows 10 x64 and the target virtual machine is running Windows 10 x86.
I am using pykd.eventHandler to monitor function calls.
The code I used is very simple. But I got a wired problem.
When the target machine has only one core, one processor, it works very well.
However when the target machine has multi-core processor. it would trigger a windbg exception as shown below:
Single step exception - code 80000004 (first chance)
First chance exceptions are reported before any exception handling.
This exception may be expected and handled.
nt = pykd.module('nt')
self.bp_init = pykd.setBp(nt.NtCreateFile, self.enter_call_back)