DebugClients/Python/DebugBase.py

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

eric ide

mercurial