<?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: PythonWin Debugger Error in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/pythonwin-debugger-error/m-p/323857#M25224</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just to be clear, you are talking about the PythonWin Trace Collector Debugging Tool, not the Python Debugger right? Have you tried both?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are having problems with debugging without even using the geoprocessor module then it sounds more like a general problem with your environment and PythonWin. I don't think I will be able to help much. You should try e-mailing &lt;/SPAN&gt;&lt;A href="mailto:python-help@python.org" rel="nofollow noopener noreferrer" target="_blank"&gt;python-help@python.org&lt;/A&gt;&lt;SPAN&gt; they are a great resource for technical python related problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FYI, I run the exact same setup, Windows 7 64-bit Arc10 SP1, running PythonWin 214 with Python 2.6.5 and haven't seen any issues with the PythonWin debugger. So there should be some solution out there for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If something simple like this can't run in the debugger for you then I'm out of ideas, sorry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import win32traceutil
x = 0
xlist = list()
while x &amp;lt;= 10:
&amp;nbsp;&amp;nbsp;&amp;nbsp; x += 1
&amp;nbsp;&amp;nbsp;&amp;nbsp; xlist.append(x)
print xlist
print "done"&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 15:23:02 GMT</pubDate>
    <dc:creator>MathewCoyle</dc:creator>
    <dc:date>2021-12-11T15:23:02Z</dc:date>
    <item>
      <title>PythonWin Debugger Error</title>
      <link>https://community.esri.com/t5/python-questions/pythonwin-debugger-error/m-p/323852#M25219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear all;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've just installed ArcMap 10 (Info) Student evaluation edition on a brand new laptop running Windows 7. I followed explicit directions to set up PythonWin as an administrator, navigating to the folder on the install disk. The only issue is that the debugger does not work, I recieve the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Traceback (most recent call last):&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Python26\ArcGIS10.0\Lib\site-packages\pythonwin\pywin\framework\dbgcommands.py", line 74, in OnGo&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; self._DoOrStart("do_set_continue", scriptutils.RS_DEBUGGER_GO)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Python26\ArcGIS10.0\Lib\site-packages\pythonwin\pywin\framework\dbgcommands.py", line 58, in _DoOrStart&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; method()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Python26\ArcGIS10.0\Lib\site-packages\pythonwin\pywin\debugger\debugger.py", line 669, in do_set_continue&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if self.GUIAboutToRun():&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Python26\ArcGIS10.0\Lib\site-packages\pythonwin\pywin\debugger\debugger.py", line 804, in GUIAboutToRun&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if not self.StopDebuggerPump():&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; File "C:\Python26\ArcGIS10.0\Lib\site-packages\pythonwin\pywin\debugger\debugger.py", line 516, in StopDebuggerPump&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; assert self.pumping, "Can't stop the debugger pump if Im not pumping!"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;AssertionError: Can't stop the debugger pump if Im not pumping!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;win32ui.error: Error in Command Message handler for command ID 15022, Code 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have any suggestions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 15:05:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pythonwin-debugger-error/m-p/323852#M25219</guid>
      <dc:creator>KateLyndegaard</dc:creator>
      <dc:date>2011-05-03T15:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: PythonWin Debugger Error</title>
      <link>https://community.esri.com/t5/python-questions/pythonwin-debugger-error/m-p/323853#M25220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You get this error when you try to run a script or when you try to just open PythonWin? Does the IDLE work?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Edit: Oh you just get it when trying to run through the debugger using win32traceutil? Did you try on just a simple print "Hello World" program?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 15:31:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pythonwin-debugger-error/m-p/323853#M25220</guid>
      <dc:creator>MathewCoyle</dc:creator>
      <dc:date>2011-05-03T15:31:13Z</dc:date>
    </item>
    <item>
      <title>Re: PythonWin Debugger Error</title>
      <link>https://community.esri.com/t5/python-questions/pythonwin-debugger-error/m-p/323854#M25221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Matthew;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm working on a batch reprojection script, but I've tried debugging other scripts as well and values just don't show up in the watch window when I add variables. I always get that error message whenever I set breakpoints, step into code, etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The IDLE seems to work in all other respects, other than sometimes it won't open and I have to restart my laptop. I didn't have this problem with PythonWin in 9.3.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kate.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 17:05:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pythonwin-debugger-error/m-p/323854#M25221</guid>
      <dc:creator>KateLyndegaard</dc:creator>
      <dc:date>2011-05-03T17:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: PythonWin Debugger Error</title>
      <link>https://community.esri.com/t5/python-questions/pythonwin-debugger-error/m-p/323855#M25222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;What build of PythonWin are you using? 214 works fine for me. I would try removing and reinstalling PythonWin with the latest build if you haven't already. Also, is PythonWin using 2.6.5 to run your code?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 17:21:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pythonwin-debugger-error/m-p/323855#M25222</guid>
      <dc:creator>MathewCoyle</dc:creator>
      <dc:date>2011-05-03T17:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: PythonWin Debugger Error</title>
      <link>https://community.esri.com/t5/python-questions/pythonwin-debugger-error/m-p/323856#M25223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately uninstalling and reinstalling has not worked. I'm running ArcMap 10, Python 2.6.5 on a Windows 7 (64 bit) machine.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2011 00:03:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pythonwin-debugger-error/m-p/323856#M25223</guid>
      <dc:creator>KateLyndegaard</dc:creator>
      <dc:date>2011-05-04T00:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: PythonWin Debugger Error</title>
      <link>https://community.esri.com/t5/python-questions/pythonwin-debugger-error/m-p/323857#M25224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just to be clear, you are talking about the PythonWin Trace Collector Debugging Tool, not the Python Debugger right? Have you tried both?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you are having problems with debugging without even using the geoprocessor module then it sounds more like a general problem with your environment and PythonWin. I don't think I will be able to help much. You should try e-mailing &lt;/SPAN&gt;&lt;A href="mailto:python-help@python.org" rel="nofollow noopener noreferrer" target="_blank"&gt;python-help@python.org&lt;/A&gt;&lt;SPAN&gt; they are a great resource for technical python related problems.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FYI, I run the exact same setup, Windows 7 64-bit Arc10 SP1, running PythonWin 214 with Python 2.6.5 and haven't seen any issues with the PythonWin debugger. So there should be some solution out there for you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If something simple like this can't run in the debugger for you then I'm out of ideas, sorry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;import win32traceutil
x = 0
xlist = list()
while x &amp;lt;= 10:
&amp;nbsp;&amp;nbsp;&amp;nbsp; x += 1
&amp;nbsp;&amp;nbsp;&amp;nbsp; xlist.append(x)
print xlist
print "done"&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:23:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/pythonwin-debugger-error/m-p/323857#M25224</guid>
      <dc:creator>MathewCoyle</dc:creator>
      <dc:date>2021-12-11T15:23:02Z</dc:date>
    </item>
  </channel>
</rss>

