DebugClients/Python3/DebugBase.py

changeset 5156
5cb4740bd2a9
parent 5140
01484c0afbc6
child 5161
f7b6ded9cc37
equal deleted inserted replaced
5154:0a86d976fef5 5156:5cb4740bd2a9
114 """ 114 """
115 cf = self.currentFrame 115 cf = self.currentFrame
116 while cf is not None and frmnr > 0: 116 while cf is not None and frmnr > 0:
117 cf = cf.f_back 117 cf = cf.f_back
118 frmnr -= 1 118 frmnr -= 1
119
120 try:
121 if "__pypy__" in sys.builtin_module_names:
122 import __pypy__
123 __pypy__.locals_to_fast(cf)
124 return
125 except Exception:
126 pass
127
119 ctypes.pythonapi.PyFrame_LocalsToFast( 128 ctypes.pythonapi.PyFrame_LocalsToFast(
120 ctypes.py_object(cf), 129 ctypes.py_object(cf),
121 ctypes.c_int(0)) 130 ctypes.c_int(0))
122 131
123 def step(self, traceMode): 132 def step(self, traceMode):

eric ide

mercurial