Debugging Intel® Software Guard Extensions (Intel® SGX) Enclaves in Microsoft Windows*

  • File: Debugging-Intel-SGX-Enclaves-in-Windows.pdf
  • Size:914.28 KB


This paper describes the process for debugging Intel® Software Guard Extensions (Intel® SGX) enclaves for Microsoft Windows*. The paper covers prerequisites and typical steps to debug an enclave using Microsoft Visual Studio*, the Intel SGX Debugger, and the Intel SGX debug API. Also included are examples of common errors that can occur in enclave code. This paper assumes a basic understanding of Intel SGX application development. Information on Intel SGX can be found on the Intel SGX portal at:

For more complete information about compiler optimizations, see our Optimization Notice.