<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Hello, Anca. in Intel Confidential Computing</title>
    <link>https://community.intel.com/t5/Intel-Confidential-Computing/Debugging-SGX-Application-in-Simulation-Mode/m-p/1156010#M2741</link>
    <description>&lt;P&gt;Hello, Anca.&lt;/P&gt;&lt;P&gt;You won't be able to step into trts.cpp as it is part of the&amp;nbsp;sgx_trts_sim.lib that is distributed as binary only.&amp;nbsp; To continue, you could put a break point at the instruction just after your original trusted function call in your untrusted code that ecall'd into the enclave and then simply F5 - Run&amp;nbsp;to it.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;</description>
    <pubDate>Wed, 20 Feb 2019 20:46:52 GMT</pubDate>
    <dc:creator>Scott_R_Intel</dc:creator>
    <dc:date>2019-02-20T20:46:52Z</dc:date>
    <item>
      <title>Debugging SGX Application in Simulation Mode</title>
      <link>https://community.intel.com/t5/Intel-Confidential-Computing/Debugging-SGX-Application-in-Simulation-Mode/m-p/1156009#M2740</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to debug a simple SGX application (provided in the Lab 6 Debugging training &lt;A href="https://software.intel.com/en-us/download/the-intel-sgx-web-based-training-lab-bundle)" target="_blank"&gt;https://software.intel.com/en-us/download/the-intel-sgx-web-based-training-lab-bundle)&lt;/A&gt; using the Intel(R) SGX Debugger.&lt;/P&gt;&lt;P&gt;My PC's hardware doesn't support&amp;nbsp;Intel&amp;nbsp;SGX, so I run my application in Simulation Mode using Visual Studio 2015.&lt;/P&gt;&lt;P&gt;My applications compiles successfully, but during building, there are two dlls (sgx_urts_simd.dll,&amp;nbsp;sgx_uae_service_sim.dll ) whose symbols are not loaded (I followed the specified path and the dlls can be found in the folder). I am not sure if this affects me later on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can add breakpoints in the Enclave.cpp code and the step by step debugging reaches those points, but upon returning from a function in Enclave_t.c,a&amp;nbsp;"Source not Found" window pops in and notifies me that&amp;nbsp;"trts.cpp" was not found and I need to find it in order to view the source for the current stack call. I don't know how to resume&amp;nbsp;debugging from now on.&lt;/P&gt;&lt;P&gt;My enclave has the following Additional Dependencies in the Properties-&amp;gt;Linker-&amp;gt;Input:&amp;nbsp;&lt;/P&gt;&lt;P&gt;sgx_trts_sim.lib;&lt;/P&gt;&lt;P&gt;sgx_tstdc.lib;&lt;/P&gt;&lt;P&gt;sgx_tservice_sim.lib;&lt;/P&gt;&lt;P&gt;sgx_tcrypto.lib;&lt;/P&gt;&lt;P&gt;sgx_tcxx.lib .&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for any help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2019 14:54:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Confidential-Computing/Debugging-SGX-Application-in-Simulation-Mode/m-p/1156009#M2740</guid>
      <dc:creator>faur__anca</dc:creator>
      <dc:date>2019-02-20T14:54:15Z</dc:date>
    </item>
    <item>
      <title>Hello, Anca.</title>
      <link>https://community.intel.com/t5/Intel-Confidential-Computing/Debugging-SGX-Application-in-Simulation-Mode/m-p/1156010#M2741</link>
      <description>&lt;P&gt;Hello, Anca.&lt;/P&gt;&lt;P&gt;You won't be able to step into trts.cpp as it is part of the&amp;nbsp;sgx_trts_sim.lib that is distributed as binary only.&amp;nbsp; To continue, you could put a break point at the instruction just after your original trusted function call in your untrusted code that ecall'd into the enclave and then simply F5 - Run&amp;nbsp;to it.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2019 20:46:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Confidential-Computing/Debugging-SGX-Application-in-Simulation-Mode/m-p/1156010#M2741</guid>
      <dc:creator>Scott_R_Intel</dc:creator>
      <dc:date>2019-02-20T20:46:52Z</dc:date>
    </item>
  </channel>
</rss>

