Lines Matching refs:tb
10 def StackBrowser(root, flist=None, tb=None, top=None): argument
16 item = StackTreeItem(flist, tb)
23 def __init__(self, flist=None, tb=None): argument
25 self.stack = self.get_stack(tb)
28 def get_stack(self, tb): argument
29 if tb is None:
30 tb = sys.last_traceback
32 if tb and tb.tb_frame is None:
33 tb = tb.tb_next
34 while tb is not None:
35 stack.append((tb.tb_frame, tb.tb_lineno))
36 tb = tb.tb_next
143 StackBrowser(top, flist=flist, top=top, tb=exc_tb)