<?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 Cannot use Visual Studio 2015 to debug python script in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/cannot-use-visual-studio-2015-to-debug-python/m-p/63494#M5140</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to use visual studio 2015 as my debugger for ArcGIS. However, I cannot even initiate Visual Studio to debug scripts. Here are my settings:&lt;/P&gt;&lt;P&gt;I've tried many scripts but I keep getting the error message like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR 000714: Error in script FeatureType.&lt;/P&gt;&lt;P&gt;Error in executing: cmd.exe /C E:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe C:\Users\Ruoyu\DOCUME~1\VISUAL~1\Projects\CONDIT~1\CONDIT~1.SLN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Failed to execute (FeatureType).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My script is:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.png" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/193967_2.png" style="width: 620px; height: 328px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Set debugger&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/193912_1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;2. Copy my script (.py file) to visual studio project folder and set this file as my startup file.&lt;/P&gt;&lt;P&gt;3. Add this script to toolbox, and set the script file to the .sln file in my project folder.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="3.png" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/193968_3.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;4. Right click this script in toolbox and debug, but get error message:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="4.png" class="image-4 jive-image" src="https://community.esri.com/legacyfs/online/193969_4.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm confused why this keeps happening and really hope I can get some help from you guys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Apr 2016 17:58:43 GMT</pubDate>
    <dc:creator>RuoyuZhang</dc:creator>
    <dc:date>2016-04-05T17:58:43Z</dc:date>
    <item>
      <title>Cannot use Visual Studio 2015 to debug python script</title>
      <link>https://community.esri.com/t5/python-questions/cannot-use-visual-studio-2015-to-debug-python/m-p/63494#M5140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm trying to use visual studio 2015 as my debugger for ArcGIS. However, I cannot even initiate Visual Studio to debug scripts. Here are my settings:&lt;/P&gt;&lt;P&gt;I've tried many scripts but I keep getting the error message like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR 000714: Error in script FeatureType.&lt;/P&gt;&lt;P&gt;Error in executing: cmd.exe /C E:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe C:\Users\Ruoyu\DOCUME~1\VISUAL~1\Projects\CONDIT~1\CONDIT~1.SLN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Failed to execute (FeatureType).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My script is:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="2.png" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/193967_2.png" style="width: 620px; height: 328px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Set debugger&lt;/P&gt;&lt;P&gt;&lt;IMG alt="1.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/193912_1.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;2. Copy my script (.py file) to visual studio project folder and set this file as my startup file.&lt;/P&gt;&lt;P&gt;3. Add this script to toolbox, and set the script file to the .sln file in my project folder.&lt;/P&gt;&lt;P&gt;&lt;IMG alt="3.png" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/193968_3.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;4. Right click this script in toolbox and debug, but get error message:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="4.png" class="image-4 jive-image" src="https://community.esri.com/legacyfs/online/193969_4.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm confused why this keeps happening and really hope I can get some help from you guys.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Apr 2016 17:58:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/cannot-use-visual-studio-2015-to-debug-python/m-p/63494#M5140</guid>
      <dc:creator>RuoyuZhang</dc:creator>
      <dc:date>2016-04-05T17:58:43Z</dc:date>
    </item>
  </channel>
</rss>

