<?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 Re: Debugging with ArcPy breakpoints after Point to Line in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/debugging-with-arcpy-breakpoints-after-point-to/m-p/89552#M6953</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Points to line is a script not a tool, which is why I suspect that your break points fail&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image" height="183" src="https://community.esri.com/legacyfs/online/496920_points_to_line.png" width="307" /&gt;&lt;/P&gt;&lt;P&gt;hammer, versus scroll&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jun 2020 19:34:37 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2020-06-17T19:34:37Z</dc:date>
    <item>
      <title>Debugging with ArcPy breakpoints after Point to Line</title>
      <link>https://community.esri.com/t5/python-questions/debugging-with-arcpy-breakpoints-after-point-to/m-p/89549#M6950</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've been developing with python for several years and don't recall having this issue before.&amp;nbsp; When I set breakpoints at the PointsToLine_management function call, the debugger stops.&amp;nbsp; When I click run, it continues all the way through the script without stopping on any other breakpoints.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to step through the arcpy function line by line, but stepping out or over does not return me to my script and hit the next breakpoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems that the debugger context is not getting set back after returning from the arcpy function call.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using Visual Studio Code so that could be the source of the problem.&amp;nbsp; Is anyone also using VS Code to write/debug python?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Mar 2019 19:17:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/debugging-with-arcpy-breakpoints-after-point-to/m-p/89549#M6950</guid>
      <dc:creator>RichardHughes2</dc:creator>
      <dc:date>2019-03-15T19:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging with ArcPy breakpoints after Point to Line</title>
      <link>https://community.esri.com/t5/python-questions/debugging-with-arcpy-breakpoints-after-point-to/m-p/89550#M6951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same problem here. I´m using PyCharm so it seems the problem is related to the&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;PointsToLine_management function. As a workaround, I started&amp;nbsp;&lt;SPAN&gt;PointsToLine_management&amp;nbsp;through multiprocessing module in a new process, and after this separate&amp;nbsp;process has finished, the debugger hits the next breakpoint as expected.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2019 14:17:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/debugging-with-arcpy-breakpoints-after-point-to/m-p/89550#M6951</guid>
      <dc:creator>ChristianBehnken</dc:creator>
      <dc:date>2019-12-11T14:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging with ArcPy breakpoints after Point to Line</title>
      <link>https://community.esri.com/t5/python-questions/debugging-with-arcpy-breakpoints-after-point-to/m-p/89551#M6952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Problem still exists in 2020. Using Visual Studio Enterprise to code in python. Any call to ExcelToTable or TableToExcel makes all breakpoints afterward non-functional. If I comment out those lines, the breakpoints will work again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2020 18:21:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/debugging-with-arcpy-breakpoints-after-point-to/m-p/89551#M6952</guid>
      <dc:creator>MKF62</dc:creator>
      <dc:date>2020-06-17T18:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging with ArcPy breakpoints after Point to Line</title>
      <link>https://community.esri.com/t5/python-questions/debugging-with-arcpy-breakpoints-after-point-to/m-p/89552#M6953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Points to line is a script not a tool, which is why I suspect that your break points fail&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image" height="183" src="https://community.esri.com/legacyfs/online/496920_points_to_line.png" width="307" /&gt;&lt;/P&gt;&lt;P&gt;hammer, versus scroll&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2020 19:34:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/debugging-with-arcpy-breakpoints-after-point-to/m-p/89552#M6953</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-06-17T19:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging with ArcPy breakpoints after Point to Line</title>
      <link>https://community.esri.com/t5/python-questions/debugging-with-arcpy-breakpoints-after-point-to/m-p/89553#M6954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you describe why using a script tool vs toolbox tool would not work?&amp;nbsp; Do you think it is because of what is going on inside the script tool rather than just that it is a script tool?&amp;nbsp; I was thinking this type of issue is related to multiprocessing task bug within Esri tools, but that could be wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2020 19:42:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/debugging-with-arcpy-breakpoints-after-point-to/m-p/89553#M6954</guid>
      <dc:creator>RichardHughes2</dc:creator>
      <dc:date>2020-06-17T19:42:53Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging with ArcPy breakpoints after Point to Line</title>
      <link>https://community.esri.com/t5/python-questions/debugging-with-arcpy-breakpoints-after-point-to/m-p/89554#M6955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/74103"&gt;Richard Hughes&lt;/A&gt;‌ I just looked at the difference in the tools.&amp;nbsp; The this was the only difference I could see on short examination.&lt;/P&gt;&lt;P&gt;You could experiment to see if this happens with standalone scripts I suppose, or try one of the other scripts in ArcToolbox like Add Geometry Attributes, XY table to Points, etc (witin the Data Management, Features Toolset)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jun 2020 19:59:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/debugging-with-arcpy-breakpoints-after-point-to/m-p/89554#M6955</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2020-06-17T19:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: Debugging with ArcPy breakpoints after Point to Line</title>
      <link>https://community.esri.com/t5/python-questions/debugging-with-arcpy-breakpoints-after-point-to/m-p/89555#M6956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you have an example of using the multiprocessing module that you can share?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2020 12:36:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/debugging-with-arcpy-breakpoints-after-point-to/m-p/89555#M6956</guid>
      <dc:creator>MKF62</dc:creator>
      <dc:date>2020-06-18T12:36:32Z</dc:date>
    </item>
  </channel>
</rss>

