DebugClients/Python2/DebugBase.py

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

eric ide

mercurial