fabioz / PyDev.Debugger

Sources for the debugger used in PyDev, PyCharm and VSCode Python
Eclipse Public License 1.0
431 stars 122 forks source link

in version 5.6.0 - pydevd_additional_thread_info_regular.py uses a non-jython call (_current_frames()) #76

Open yanivsag opened 7 years ago

yanivsag commented 7 years ago

def iter_frames(self, t):

sys._current_frames(): dictionary with thread id -> topmost frame

    current_frames = sys._current_frames()
    v = current_frames.get(t.ident)
    if v is not None:
        return [v]
    return []
fabioz commented 7 years ago

Which Jython version are you using?

yanivsag commented 7 years ago

2.7.0

yanivsag commented 7 years ago

Not sure that it's connected to the disconnection issue because the disconnect also occurred in 5.5.0. I suspect it has something to do to the Java bindings I give the Jython script.

yanivsag commented 7 years ago

But it happens even without bindings