Show More
@@ -671,15 +671,15 b' class Pdb(OldPdb):' | |||||
671 | do_w = do_where |
|
671 | do_w = do_where | |
672 |
|
672 | |||
673 | def stop_here(self, frame): |
|
673 | def stop_here(self, frame): | |
674 | hidden = False |
|
674 | """Check if pdb should stop here""" | |
675 | if self.skip_hidden: |
|
675 | if not super().stop_here(frame): | |
676 | hidden = frame.f_locals.get("__tracebackhide__", False) |
|
676 | return False | |
677 | if hidden: |
|
677 | if self.skip_hidden and frame.f_locals.get("__tracebackhide__", False): | |
678 | Colors = self.color_scheme_table.active_colors |
|
678 | Colors = self.color_scheme_table.active_colors | |
679 | ColorsNormal = Colors.Normal |
|
679 | ColorsNormal = Colors.Normal | |
680 | print(f"{Colors.excName} [... skipped 1 hidden frame]{ColorsNormal}\n") |
|
680 | print(f"{Colors.excName} [... skipped 1 hidden frame]{ColorsNormal}\n") | |
681 |
|
681 | return False | ||
682 | return super().stop_here(frame) |
|
682 | return True | |
683 |
|
683 | |||
684 | def do_up(self, arg): |
|
684 | def do_up(self, arg): | |
685 | """u(p) [count] |
|
685 | """u(p) [count] |
General Comments 0
You need to be logged in to leave comments.
Login now