##// END OF EJS Templates
Handle stackdata.RepeatedFrames
Alex Hall -
Show More
@@ -588,6 +588,11 b' class VerboseTB(TBTools):'
588 """Format a single stack frame"""
588 """Format a single stack frame"""
589 Colors = self.Colors # just a shorthand + quicker name lookup
589 Colors = self.Colors # just a shorthand + quicker name lookup
590 ColorsNormal = Colors.Normal # used a lot
590 ColorsNormal = Colors.Normal # used a lot
591
592 if isinstance(frame_info, stack_data.RepeatedFrames):
593 return ' %s[... skipping similar frames: %s]%s\n' % (
594 Colors.excName, frame_info.description, ColorsNormal)
595
591 col_scheme = self.color_scheme_table.active_scheme_name
596 col_scheme = self.color_scheme_table.active_scheme_name
592 indent = ' ' * INDENT_SIZE
597 indent = ' ' * INDENT_SIZE
593 em_normal = '%s\n%s%s' % (Colors.valEm, indent, ColorsNormal)
598 em_normal = '%s\n%s%s' % (Colors.valEm, indent, ColorsNormal)
General Comments 0
You need to be logged in to leave comments. Login now