Show More
@@ -415,9 +415,10 b' class Pdb(OldPdb):' | |||||
415 | if self._predicates["tbhide"]: |
|
415 | if self._predicates["tbhide"]: | |
416 | if frame in (self.curframe, getattr(self, "initial_frame", None)): |
|
416 | if frame in (self.curframe, getattr(self, "initial_frame", None)): | |
417 | return False |
|
417 | return False | |
418 | else: |
|
418 | frame_locals = self._get_frame_locals(frame) | |
419 | return self._get_frame_locals(frame).get("__tracebackhide__", False) |
|
419 | if "__tracebackhide__" not in frame_locals: | |
420 |
|
420 | return False | ||
|
421 | return frame_locals["__tracebackhide__"] | |||
421 | return False |
|
422 | return False | |
422 |
|
423 | |||
423 | def hidden_frames(self, stack): |
|
424 | def hidden_frames(self, stack): |
General Comments 0
You need to be logged in to leave comments.
Login now