DebugClients/Python3/DebugBase.py

branch
6_1_x
changeset 5157
c271375ca534
parent 4685
c749edcea558
child 5164
197acc53a662
equal deleted inserted replaced
5155:c343f780dc6d 5157:c271375ca534
116 """ 116 """
117 cf = self.currentFrame 117 cf = self.currentFrame
118 while cf is not None and frmnr > 0: 118 while cf is not None and frmnr > 0:
119 cf = cf.f_back 119 cf = cf.f_back
120 frmnr -= 1 120 frmnr -= 1
121
122 try:
123 if "__pypy__" in sys.builtin_module_names:
124 import __pypy__
125 __pypy__.locals_to_fast(cf)
126 return
127 except Exception:
128 pass
129
121 ctypes.pythonapi.PyFrame_LocalsToFast( 130 ctypes.pythonapi.PyFrame_LocalsToFast(
122 ctypes.py_object(cf), 131 ctypes.py_object(cf),
123 ctypes.c_int(0)) 132 ctypes.c_int(0))
124 133
125 def step(self, traceMode): 134 def step(self, traceMode):

eric ide

mercurial