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 []
# IFDEF CYTHON
# def create_db_frame(self, *args, **kwargs):
# raise AssertionError('This method should not be called on cython (PyDbFrame should be used directly).')
# ELSE
# just create the db frame directly
pydevd_additional_thread_info_regular.py 文件源码
python
阅读 25
收藏 0
点赞 0
评论 0
评论列表
文章目录