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

i've installed PyDev 1.6.1 using Jython 2.1 into Eclipse 3.5 (Galileo) under
Ubuntu 10. Everything seems to work as advertised, except for remote debugging
using settrace(). I start the remote debugging server on the default port 
(5678).
I Run my Jython module. The first time the Jython code encounters a settrace()
statement, it takes the breakpoint, but stops in module [b]weakref[/b] at line
80, here:

80    def __setitem__(self, key, value):  <== Stops here
             self.data[key] = KeyedRef(value, self._remove, key)

If I step (F6), it steps out of this method and returns to line 97 of module
[b]threading[/b]

Stepping out of that, it never stops at the line following settrace() in my
Jython code.

[b]However[/b], if I add a second settrace() statement, it [i]does[/i] stop
at the line following [i]that[/i] statement in the Jython code. For example,

    import pydevd; settrace()  <===  Stops at weakref:80
    print 'Breakpoint 1'              <=== Does NOT stop here
    settrace()
    print 'Breakpoint 2'              <=== Stops here

Can someone tell me what's going on and/or what I'm doing wrong?


------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to