Lines Matching refs:frame

25 	def __init__(self,frame):  argument
26 self.etraceback = frame.f_exc_traceback
27 self.etype = frame.exc_type
28 self.evalue = frame.f_exc_value
67 def __init__(self,frame,arginfo): argument
68 self.f = frame
120 def __init__(self,frame): argument
121 self.f = frame
148 def callEvent(self,frame): argument
151 def lineEvent(self,frame): argument
154 def returnEvent(self,frame,retval): argument
157 def exceptionEvent(self,frame,exception,value,traceback): argument
160 def cCallEvent(self,frame,cfunct): argument
163 def cReturnEvent(self,frame,cfunct): argument
166 def cExceptionEvent(self,frame,cfunct): argument
172 def the_tracer_entrypoint(frame,event,args): argument
176 call_retval = tracer_impl.callEvent(FrameFancy(frame))
181 line_retval = tracer_impl.lineEvent(FrameFancy(frame))
186 tracer_impl.returnEvent(FrameFancy(frame),args)
189 exception_retval = tracer_impl.exceptionEvent(FrameFancy(frame),ExceptionFancy(extb,exty,exva))
194 tracer_impl.cCallEvent(FrameFancy(frame),args)
196 tracer_impl.cReturnEvent(FrameFancy(frame),args)
198 tracer_impl.cExceptionEvent(FrameFancy(frame),args)
211 def callEvent(self,frame): argument
212 …"call " + frame.getName() + " from " + frame.getCaller().getName() + " @ " + str(frame.getCaller()…
214 def lineEvent(self,frame): argument
215 …print "running " + frame.getName() + " @ " + str(frame.getLineNumber()) + " locals are " + str(fra…
217 def returnEvent(self,frame,retval): argument
218 …print "return from " + frame.getName() + " value is " + str(retval) + " locals are " + str(frame.g…
220 def exceptionEvent(self,frame,exception): argument
221 …rom %s @ %s" % (exception.getType(), str(exception.getValue()), frame.getName(), frame.getLineNum…
226 def callEvent(self,frame): argument
227 if frame.getName() == "<module>":
229 if frame.getName() == "run_one_line":
230 print "call run_one_line(%s)" % (frame.getArgumentInfo().getArgs()["input_string"])
232 if "Python.framework" in frame.getFileName():
233 print "call into Python at " + frame.getName()
235 …if frame.getName() == "__init__" and frame.getCaller().getName() == "run_one_line" and frame.getCa…
237 strout = "call " + frame.getName()
238 if (frame.getCaller().getFileName() == ""):
240 args = frame.getArgumentInfo().getArgs()
246 …strout += " from " + frame.getCaller().getName() + " @ " + str(frame.getCaller().getLineNumber()) …
249 def lineEvent(self,frame): argument
250 if frame.getName() == "<module>":
252 if frame.getName() == "run_one_line":
253 …print "running run_one_line(%s) @ %s" % (frame.getArgumentInfo().getArgs()["input_string"],frame.g…
255 if "Python.framework" in frame.getFileName():
256 print "running into Python at " + frame.getName() + " @ " + str(frame.getLineNumber())
258 strout = "running " + frame.getName() + " @ " + str(frame.getLineNumber()) + " locals are "
259 if (frame.getCaller().getFileName() == ""):
260 locals = frame.getLocals()
266 strout = strout + str(frame.getLocals())
267 strout = strout + " in " + frame.getFileName()
270 def returnEvent(self,frame,retval): argument
271 if frame.getName() == "<module>":
273 if frame.getName() == "run_one_line":
274 …print "return from run_one_line(%s) return value is %s" % (frame.getArgumentInfo().getArgs()["inpu…
276 if "Python.framework" in frame.getFileName():
277 print "return from Python at " + frame.getName() + " return value is " + str(retval)
279 strout = "return from " + frame.getName() + " return value is " + str(retval) + " locals are "
280 if (frame.getCaller().getFileName() == ""):
281 locals = frame.getLocals()
287 strout = strout + str(frame.getLocals())
288 strout = strout + " in " + frame.getFileName()
291 def exceptionEvent(self,frame,exception): argument
292 if frame.getName() == "<module>":
294 …rom %s @ %s" % (exception.getType(), str(exception.getValue()), frame.getName(), frame.getLineNum…