DebugClients/Python3/DebugBase.py

changeset 5163
741cf2db16ba
parent 5161
f7b6ded9cc37
child 5169
74e000797a93
equal deleted inserted replaced
5162:bbf2bb2d533c 5163:741cf2db16ba
606 """ 606 """
607 fr = self.cFrame 607 fr = self.cFrame
608 stack = [] 608 stack = []
609 while fr is not None: 609 while fr is not None:
610 fname = self._dbgClient.absPath(self.fix_frame_filename(fr)) 610 fname = self._dbgClient.absPath(self.fix_frame_filename(fr))
611 if not fname.startswith("<"): 611 if not fname.startswith("<") and not fname.endswith("bdb.py"):
612 fline = fr.f_lineno 612 fline = fr.f_lineno
613 ffunc = fr.f_code.co_name 613 ffunc = fr.f_code.co_name
614 614
615 if ffunc == '?': 615 if ffunc == '?':
616 ffunc = '' 616 ffunc = ''
672 # problems where an exception/breakpoint has occurred 672 # problems where an exception/breakpoint has occurred
673 # but we had disabled tracing along the way via a None 673 # but we had disabled tracing along the way via a None
674 # return from dispatch_call 674 # return from dispatch_call
675 fr.f_trace = self.trace_dispatch 675 fr.f_trace = self.trace_dispatch
676 fname = self._dbgClient.absPath(self.fix_frame_filename(fr)) 676 fname = self._dbgClient.absPath(self.fix_frame_filename(fr))
677 if not fname.startswith("<"): 677 if not fname.startswith("<") and not fname.endswith("bdb.py"):
678 fline = fr.f_lineno 678 fline = fr.f_lineno
679 ffunc = fr.f_code.co_name 679 ffunc = fr.f_code.co_name
680 680
681 if ffunc == '?': 681 if ffunc == '?':
682 ffunc = '' 682 ffunc = ''

eric ide

mercurial