Windows 10 version 1607 was released a month ago
While I was using Windows 10 Version 1511, breakpoints in Enclaves codes works well.
After I updated Windows 10 version 1607, breakpoints in Enclave codes does not work at x64 platform.
How can I fix this problem?
Debugger breakpoints inside enclaves do not work in Windows 10 Anniversary Edition (version 1607). We are working on a resolution for this issue and will let you know when there is an ETA. All other SGX behavior functions normally / as expected. If you need to debug inside an enclave please use Windows 10 Fall Update (version 1511) or an earlier version of Windows.
Cumulative Update for Windows 10 Version 1607 and Windows Server 2016: December 9, 2016 - https://support.microsoft.com/en-us/kb/3201845
This updated my OS version to 10.0.14393.479
Now I can set breakpoints inside enclaves and WriteProcessMemory() works on RX enclave memory.