Lines Matching refs:tb
168 type, value, tb = sys.exc_info()
174 traceback.print_exception(type, value, tb, file=sys.__stderr__)
219 typ, val, tb = excinfo = sys.exc_info()
223 def print_exc(typ, exc, tb): argument
237 if tb:
238 tbe = traceback.extract_tb(tb)
248 print_exc(typ, val, tb)
250 def cleanup_traceback(tb, exclude): argument
252 orig_tb = tb[:]
253 while tb:
255 if tb[0][0].count(rpcfile):
259 del tb[0]
260 while tb:
262 if tb[-1][0].count(rpcfile):
266 del tb[-1]
267 if len(tb) == 0:
269 tb[:] = orig_tb[:]
272 for i in range(len(tb)):
273 fn, ln, nm, line = tb[i]
279 tb[i] = fn, ln, nm, line
605 typ, val, tb = self.user_exc_info
611 while tb and tb.tb_frame.f_globals["__name__"] in ["rpc", "run"]:
612 tb = tb.tb_next
615 item = stackviewer.StackTreeItem(flist, tb)