Intel® Software Guard Extensions (Intel® SGX)
Discussion board focused on hardware-based isolation and memory encryption to provide extended code protection in solutions.

Breakpoints in Enclave codes does not work at x64 platform in Windows 10 version 1607

Jaehyeong_H_
Beginner
652 Views

Hi

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?

Jaehyeong Ha

Thanks

0 Kudos
4 Replies
Surenthar_S_Intel
652 Views

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.

-Surenthar

0 Kudos
Surenthar_S_Intel
652 Views

Hi,

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. 

-Surenthar

0 Kudos
AArya2
New Contributor I
652 Views

I'm having the same problem with 1607 x64.

Is there a particular project setting in Visual Studio that I might be missing?

 

Thanks,

Arya

0 Kudos
AArya2
New Contributor I
652 Views

No problem with the release. I just hadn't set the untrusted app's debugger to "Intel SGX Debugger".

 

Regards,

Arya

0 Kudos
Reply