The following forum message was posted by jeff545 at 
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4401320:

When I connect to my python app to the Pydev debugger externally using
pydevd.settrace() and then hit a break point, my debug session will sit at the
break point for a random amount of time (sometimes briefly and sometimes I can
examine the call stack for a while) and then the "Debug Server" thread in the
"Debug" window will say terminated.   I then see the follow java trace in the
eclipse .log file:


!ENTRY org.python.pydev 4 4 2011-03-07 15:53:04.659
!MESSAGE com.python.pydev.debug.model.PyDebugTargetServer cannot be cast to
org.python.pydev.debug.model.PyDebugTarget
!STACK 0
java.lang.ClassCastException: com.python.pydev.debug.model.PyDebugTargetServer
cannot be cast to org.python.pydev.debug.model.PyDebugTarget
        at 
org.python.pydev.debug.model.PyWatchExpressionDelegate.commandComplete(PyWat
chExpressionDelegate.java:124)
        at 
org.python.pydev.debug.model.remote.AbstractDebuggerCommand.processResponse(
AbstractDebuggerCommand.java:117)
        at 
org.python.pydev.debug.model.remote.DebuggerReader.processCommand(DebuggerRe
ader.java:112)
        at 
org.python.pydev.debug.model.remote.DebuggerReader.run(DebuggerReader.java:1
31)
        at java.lang.Thread.run(Thread.java:636)

I'm using pydev 1.6.4  (I've also tried it with 1.6.5 with the same results.)

Does anyone have an idea how I can solve this problem?

Thanks

------------------------------------------------------------------------------
What You Don't Know About Data Connectivity CAN Hurt You
This paper provides an overview of data connectivity, details
its effect on application quality, and explores various alternative
solutions. http://p.sf.net/sfu/progress-d2d
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to