hi
I am kind of confused. I think I got autocompletion to work, so now my goal is to be able to debug a script that I have written which has a bug. I had found a few places on the www for setting up eclipse for remote debugging, but basically they all pretty much include the same thing.
- Start with getting autocomplete to work, which I think is now working,
- create a new pydev project, and a new python file.
2a. i wrote a script that simply lists all of the cameras.
- Turn on the debugger
- set my pythonpath in Maya to where pyDev plugin is installed
4a. If I understand correctly, I have a few different options. I forget where I found it, but one of them said that the pydev pythonpath can be set at runtime.
- Next, in maya, I wrote a script that opens a port and calls pyDev’s settrace() function.
note that I am able to get this far, but the last step, which is to wait for the debugger to pop ln front, never happens. sorry that i cannot post any scripts, but at the moment i am using my ps3 to type this
Explained a bit here:
Remote Maya Python Debugging in Eclipse
But Eclipse debugging Maya is kind of mediocre. If you can afford Wing, it is way better for real-time debugging:
Remote Python debugging in Wing
Welcome to the next level!
[QUOTE=Count_Zr0;8615]Explained a bit here:
Remote Maya Python Debugging in Eclipse
But Eclipse debugging Maya is kind of mediocre. If you can afford Wing, it is way better for real-time debugging:
Remote Python debugging in Wing
Welcome to the next level![/QUOTE]
CountZro,
Although I might of not explained it exactly to what the directions said to the above link, that is the link I was using and I tried following it to the tee. The only thing that I was not sur of was if my camera list script also needed to be in Maya’s python editor as well. What I included in Maya’s editor, was just the pydev settrace function script. Should I have also included my camera script as well? If so, then how do I set a break point in Maya’s script editor, so that the debugger knows where to pause? I thought the whole purpose was that I can step through line by line and watch what happens to my varibles in eclipse.
okay,
l think I almost got it working. However, I now get an error…
error: unable to find real location for
c:\program files\autodesk\maya2008\bin\python25.zip \encodings\mbcs
does anyone have clue what is wrong?
Okay,
I got a chance to login here from my computer, so I can give better details…
I took some screen shots of my setup in eclipse… One image is my Python Interpreter setup, and the other image is Eclipse editor view, including my script that is opened
as for Maya 2008
import sys
import maya.cmds as cmds
def connectEclipse361(host='localhost') :
import pydevd
try:
pydevd.settrace(host=host, stdoutToServer=True, stderrToServer=True, suspend=True)
print "Connected to Eclipse"
except :
print "Did not connect to Eclipse"
sys.path.append("C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc")
port = **** #note for security purposes I am not posting my port to the www so everyone can see
connectEclipse361("localhost:"+port)
import maya.cmds as cmds
cam = cmds.ls(type = 'camera')
print cam
so the ending result that I now get is this…
Traceback (most recent call last):
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 102, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 25, in doWaitSuspend
self._args[0].doWaitSuspend(*args, **kwargs)
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 689, in doWaitSuspend
self.writer.addCommand(cmd)
AttributeError: ‘NoneType’ object has no attribute ‘addCommand’
Traceback (most recent call last):
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 824, in trace_dispatch
return additionalInfo.CreateDbFrame(self, filename, additionalInfo, t, frame).trace_dispatch(frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 102, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 25, in doWaitSuspend
self._args[0].doWaitSuspend(*args, **kwargs)
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 689, in doWaitSuspend
self.writer.addCommand(cmd)
AttributeError: ‘NoneType’ object has no attribute ‘addCommand’
Traceback (most recent call last):
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 102, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 25, in doWaitSuspend
self._args[0].doWaitSuspend(*args, **kwargs)
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 689, in doWaitSuspend
self.writer.addCommand(cmd)
AttributeError: ‘NoneType’ object has no attribute ‘addCommand’
Traceback (most recent call last):
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 824, in trace_dispatch
return additionalInfo.CreateDbFrame(self, filename, additionalInfo, t, frame).trace_dispatch(frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 102, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 25, in doWaitSuspend
self._args[0].doWaitSuspend(*args, **kwargs)
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 689, in doWaitSuspend
self.writer.addCommand(cmd)
AttributeError: ‘NoneType’ object has no attribute ‘addCommand’
connected to eclipse
[u’frontShape’, u’perspShape’, u’sideShape’, u’topShape’]
as you can see, it does say that it is connected, but it also spits out all this gibberish
then when I try calling the script again, it spits out this…
Traceback (most recent call last):
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 102, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 25, in doWaitSuspend
self._args[0].doWaitSuspend(*args, **kwargs)
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 689, in doWaitSuspend
self.writer.addCommand(cmd)
AttributeError: ‘NoneType’ object has no attribute ‘addCommand’
Traceback (most recent call last):
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 824, in trace_dispatch
return additionalInfo.CreateDbFrame(self, filename, additionalInfo, t, frame).trace_dispatch(frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 102, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 25, in doWaitSuspend
self._args[0].doWaitSuspend(*args, **kwargs)
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 689, in doWaitSuspend
self.writer.addCommand(cmd)
AttributeError: ‘NoneType’ object has no attribute ‘addCommand’
Traceback (most recent call last):
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 102, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 25, in doWaitSuspend
self._args[0].doWaitSuspend(*args, **kwargs)
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 689, in doWaitSuspend
self.writer.addCommand(cmd)
AttributeError: ‘NoneType’ object has no attribute ‘addCommand’
Traceback (most recent call last):
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 824, in trace_dispatch
return additionalInfo.CreateDbFrame(self, filename, additionalInfo, t, frame).trace_dispatch(frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 102, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 25, in doWaitSuspend
self._args[0].doWaitSuspend(*args, **kwargs)
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 689, in doWaitSuspend
self.writer.addCommand(cmd)
AttributeError: ‘NoneType’ object has no attribute ‘addCommand’
Traceback (most recent call last):
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 102, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 25, in doWaitSuspend
self._args[0].doWaitSuspend(*args, **kwargs)
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 689, in doWaitSuspend
self.writer.addCommand(cmd)
AttributeError: ‘NoneType’ object has no attribute ‘addCommand’
Traceback (most recent call last):
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 824, in trace_dispatch
return additionalInfo.CreateDbFrame(self, filename, additionalInfo, t, frame).trace_dispatch(frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 102, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 25, in doWaitSuspend
self._args[0].doWaitSuspend(*args, **kwargs)
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 689, in doWaitSuspend
self.writer.addCommand(cmd)
AttributeError: ‘NoneType’ object has no attribute ‘addCommand’
Traceback (most recent call last):
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 102, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 25, in doWaitSuspend
self._args[0].doWaitSuspend(*args, **kwargs)
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 689, in doWaitSuspend
self.writer.addCommand(cmd)
AttributeError: ‘NoneType’ object has no attribute ‘addCommand’
Traceback (most recent call last):
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 824, in trace_dispatch
return additionalInfo.CreateDbFrame(self, filename, additionalInfo, t, frame).trace_dispatch(frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 102, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 25, in doWaitSuspend
self._args[0].doWaitSuspend(*args, **kwargs)
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 689, in doWaitSuspend
self.writer.addCommand(cmd)
AttributeError: ‘NoneType’ object has no attribute ‘addCommand’
5678
localhost:5678
Traceback (most recent call last):
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 102, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 25, in doWaitSuspend
self._args[0].doWaitSuspend(*args, **kwargs)
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 689, in doWaitSuspend
self.writer.addCommand(cmd)
AttributeError: ‘NoneType’ object has no attribute ‘addCommand’
Traceback (most recent call last):
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 824, in trace_dispatch
return additionalInfo.CreateDbFrame(self, filename, additionalInfo, t, frame).trace_dispatch(frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 102, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 25, in doWaitSuspend
self._args[0].doWaitSuspend(*args, **kwargs)
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 689, in doWaitSuspend
self.writer.addCommand(cmd)
AttributeError: ‘NoneType’ object has no attribute ‘addCommand’
Connected to Eclipse
Traceback (most recent call last):
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 102, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 25, in doWaitSuspend
self._args[0].doWaitSuspend(*args, **kwargs)
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 689, in doWaitSuspend
self.writer.addCommand(cmd)
AttributeError: ‘NoneType’ object has no attribute ‘addCommand’
Traceback (most recent call last):
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 824, in trace_dispatch
return additionalInfo.CreateDbFrame(self, filename, additionalInfo, t, frame).trace_dispatch(frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 102, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 25, in doWaitSuspend
self._args[0].doWaitSuspend(*args, **kwargs)
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 689, in doWaitSuspend
self.writer.addCommand(cmd)
AttributeError: ‘NoneType’ object has no attribute ‘addCommand’
Traceback (most recent call last):
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 102, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 25, in doWaitSuspend
self._args[0].doWaitSuspend(*args, **kwargs)
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 689, in doWaitSuspend
self.writer.addCommand(cmd)
AttributeError: ‘NoneType’ object has no attribute ‘addCommand’
Traceback (most recent call last):
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 824, in trace_dispatch
return additionalInfo.CreateDbFrame(self, filename, additionalInfo, t, frame).trace_dispatch(frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 102, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 25, in doWaitSuspend
self._args[0].doWaitSuspend(*args, **kwargs)
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 689, in doWaitSuspend
self.writer.addCommand(cmd)
AttributeError: ‘NoneType’ object has no attribute ‘addCommand’
Traceback (most recent call last):
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 102, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 25, in doWaitSuspend
self._args[0].doWaitSuspend(*args, **kwargs)
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 689, in doWaitSuspend
self.writer.addCommand(cmd)
AttributeError: ‘NoneType’ object has no attribute ‘addCommand’
Traceback (most recent call last):
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 824, in trace_dispatch
return additionalInfo.CreateDbFrame(self, filename, additionalInfo, t, frame).trace_dispatch(frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 102, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 25, in doWaitSuspend
self._args[0].doWaitSuspend(*args, **kwargs)
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 689, in doWaitSuspend
self.writer.addCommand(cmd)
AttributeError: ‘NoneType’ object has no attribute ‘addCommand’
Traceback (most recent call last):
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 102, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 25, in doWaitSuspend
self._args[0].doWaitSuspend(*args, **kwargs)
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 689, in doWaitSuspend
self.writer.addCommand(cmd)
AttributeError: ‘NoneType’ object has no attribute ‘addCommand’
Traceback (most recent call last):
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 824, in trace_dispatch
return additionalInfo.CreateDbFrame(self, filename, additionalInfo, t, frame).trace_dispatch(frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 102, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 25, in doWaitSuspend
self._args[0].doWaitSuspend(*args, **kwargs)
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 689, in doWaitSuspend
self.writer.addCommand(cmd)
AttributeError: ‘NoneType’ object has no attribute ‘addCommand’
Traceback (most recent call last):
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 102, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 25, in doWaitSuspend
self._args[0].doWaitSuspend(*args, **kwargs)
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 689, in doWaitSuspend
self.writer.addCommand(cmd)
AttributeError: ‘NoneType’ object has no attribute ‘addCommand’
Traceback (most recent call last):
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 824, in trace_dispatch
return additionalInfo.CreateDbFrame(self, filename, additionalInfo, t, frame).trace_dispatch(frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 102, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 25, in doWaitSuspend
self._args[0].doWaitSuspend(*args, **kwargs)
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 689, in doWaitSuspend
self.writer.addCommand(cmd)
AttributeError: ‘NoneType’ object has no attribute ‘addCommand’
[u’frontShape’, u’perspShape’, u’sideShape’, u’topShape’]
Traceback (most recent call last):
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 102, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 25, in doWaitSuspend
self._args[0].doWaitSuspend(*args, **kwargs)
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 689, in doWaitSuspend
self.writer.addCommand(cmd)
AttributeError: ‘NoneType’ object has no attribute ‘addCommand’
Traceback (most recent call last):
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 824, in trace_dispatch
return additionalInfo.CreateDbFrame(self, filename, additionalInfo, t, frame).trace_dispatch(frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 102, in trace_dispatch
self.doWaitSuspend(thread, frame, event, arg)
File “C:\Program Files\eclipse\plugins\org.python.pydev.debug_1.6.3.2010100513\pysrc\pydevd_frame.py”, line 25, in doWaitSuspend
self._args[0].doWaitSuspend(*args, **kwargs)
File “C:/Program Files/eclipse/plugins/org.python.pydev.debug_1.6.3.2010100513/pysrc\pydevd.py”, line 689, in doWaitSuspend
self.writer.addCommand(cmd)
AttributeError: ‘NoneType’ object has no attribute ‘addCommand’
whateever this means, still even though it says that it is connected to eclipse, nothing happens after that. Meaning, I do not get a debugger window
I wander if it would be possible and simpler to use Python’s IDLE. Couldn’t I open my py file in a new shell, turn on debug, and then chose run->module?
Why don’t you try Wing trial for free: