<?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 Python ArcGIS 10.4 breakpoints do not work in IDE in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/python-arcgis-10-4-breakpoints-do-not-work-in-ide/m-p/166395#M12828</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I started migrating Python code from ArcGIS 10.1 to ArcGIS 10.4. To my bewilderment my IDE does not properly react on breakpoints. Has anyone had the same experience and maybe a solution to this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The very simple code below shows the problem. I tested it in PyScripter 2.6 and Visual Studio 2015 with Python Tools for Visual Studio. In ArcGIS 10.1 it breaks perfectly, in ArcGIS 10.4 it doesn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'courier new', courier; font-size: 14px;"&gt;import arcpy&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'courier new', courier; font-size: 14px;"&gt;ws = "D:/GIS/Geomilieu/Data2015"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'courier new', courier; font-size: 14px;"&gt;arcpy.env.workspace = ws&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'courier new', courier; font-size: 14px;"&gt;outGDB = arcpy.CreateFileGDB_management(ws, "Output.gdb")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'courier new', courier; font-size: 14px;"&gt;lstFC = arcpy.ListFeatureClasses()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'courier new', courier; font-size: 14px;"&gt;print "This line reacts on breakpoint properly"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'courier new', courier; font-size: 14px;"&gt;arcpy.FeatureClassToGeodatabase_conversion(lstFC, outGDB)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'courier new', courier; font-size: 14px;"&gt;print "This line does not react on breakpoint anymore in ArcGIS 10.4"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem seems to concentrate on the FeatureClassToGeodatabase tool.&lt;/P&gt;&lt;P&gt;When I replace that with a loop and use the CopyFeatures tool the last line does properly break.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help or any sign that more people suffer this problem appreciated.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rienco Groenewold&lt;/P&gt;&lt;P&gt;Netherlands&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Aug 2016 09:26:46 GMT</pubDate>
    <dc:creator>deleted-user-dZnlqqpQ3bzV</dc:creator>
    <dc:date>2016-08-12T09:26:46Z</dc:date>
    <item>
      <title>Python ArcGIS 10.4 breakpoints do not work in IDE</title>
      <link>https://community.esri.com/t5/python-questions/python-arcgis-10-4-breakpoints-do-not-work-in-ide/m-p/166395#M12828</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I started migrating Python code from ArcGIS 10.1 to ArcGIS 10.4. To my bewilderment my IDE does not properly react on breakpoints. Has anyone had the same experience and maybe a solution to this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The very simple code below shows the problem. I tested it in PyScripter 2.6 and Visual Studio 2015 with Python Tools for Visual Studio. In ArcGIS 10.1 it breaks perfectly, in ArcGIS 10.4 it doesn't.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'courier new', courier; font-size: 14px;"&gt;import arcpy&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'courier new', courier; font-size: 14px;"&gt;ws = "D:/GIS/Geomilieu/Data2015"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'courier new', courier; font-size: 14px;"&gt;arcpy.env.workspace = ws&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'courier new', courier; font-size: 14px;"&gt;outGDB = arcpy.CreateFileGDB_management(ws, "Output.gdb")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'courier new', courier; font-size: 14px;"&gt;lstFC = arcpy.ListFeatureClasses()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'courier new', courier; font-size: 14px;"&gt;print "This line reacts on breakpoint properly"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'courier new', courier; font-size: 14px;"&gt;arcpy.FeatureClassToGeodatabase_conversion(lstFC, outGDB)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #444444; font-family: 'courier new', courier; font-size: 14px;"&gt;print "This line does not react on breakpoint anymore in ArcGIS 10.4"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem seems to concentrate on the FeatureClassToGeodatabase tool.&lt;/P&gt;&lt;P&gt;When I replace that with a loop and use the CopyFeatures tool the last line does properly break.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help or any sign that more people suffer this problem appreciated.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rienco Groenewold&lt;/P&gt;&lt;P&gt;Netherlands&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 09:26:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-arcgis-10-4-breakpoints-do-not-work-in-ide/m-p/166395#M12828</guid>
      <dc:creator>deleted-user-dZnlqqpQ3bzV</dc:creator>
      <dc:date>2016-08-12T09:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: Python ArcGIS 10.4 breakpoints do not work in IDE</title>
      <link>https://community.esri.com/t5/python-questions/python-arcgis-10-4-breakpoints-do-not-work-in-ide/m-p/166396#M12829</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;An addendum to my one question.&lt;/P&gt;&lt;P&gt;Some further testing shows that the problem could focus on Python tools used from ArcToolboxes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I, in the sample, replace the FeatureClassToGeodatabase tool with an loop over FeatureClassToFeatureClass the breakpoint on the last line of the code is triggered.&lt;/P&gt;&lt;P&gt;When I change the code to using TableToGeodatabase and TableToTable the IDE reacts exactly the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, maybe a annoying bug in the Python for ArcGIS functionality in ArcGIS 10.4?&lt;/P&gt;&lt;P&gt;I hope ESRI is willing to investigate and won't blame it on the IDE. Like they did in my first helpdesk call...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 09:46:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-arcgis-10-4-breakpoints-do-not-work-in-ide/m-p/166396#M12829</guid>
      <dc:creator>deleted-user-dZnlqqpQ3bzV</dc:creator>
      <dc:date>2016-08-12T09:46:07Z</dc:date>
    </item>
    <item>
      <title>Re: Python ArcGIS 10.4 breakpoints do not work in IDE</title>
      <link>https://community.esri.com/t5/python-questions/python-arcgis-10-4-breakpoints-do-not-work-in-ide/m-p/166397#M12830</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok... I won't at least, but can you run it in ArcMap's feable IDE as a check or is that possible?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 10:36:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-arcgis-10-4-breakpoints-do-not-work-in-ide/m-p/166397#M12830</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2016-08-12T10:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Python ArcGIS 10.4 breakpoints do not work in IDE</title>
      <link>https://community.esri.com/t5/python-questions/python-arcgis-10-4-breakpoints-do-not-work-in-ide/m-p/166398#M12831</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Running it in ArcMaps internal IDE won't help. That has no breakpoint functionality.&lt;/P&gt;&lt;P&gt;The script itself is performed alright. The problem concentrates on the breakpoints.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Aug 2016 11:08:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/python-arcgis-10-4-breakpoints-do-not-work-in-ide/m-p/166398#M12831</guid>
      <dc:creator>deleted-user-dZnlqqpQ3bzV</dc:creator>
      <dc:date>2016-08-12T11:08:29Z</dc:date>
    </item>
  </channel>
</rss>

