##// END OF EJS Templates
ipdb: fix formatting in core.debugger
Blazej Michalik -
Show More
@@ -50,6 +50,7 b' from pdb import Pdb as OldPdb'
50 50 # it does so with some limitations. The rest of this support is implemented in
51 51 # the Tracer constructor.
52 52
53
53 54 def make_arrow(pad):
54 55 """generate the leading arrow in front of traceback or debugger"""
55 56 if pad >= 2:
@@ -272,7 +273,6 b' class Pdb(OldPdb):'
272 273 cst['Neutral'].colors.breakpoint_enabled = C.LightRed
273 274 cst['Neutral'].colors.breakpoint_disabled = C.Red
274 275
275
276 276 # Add a python parser so we can syntax highlight source while
277 277 # debugging.
278 278 self.parser = PyColorize.Parser(style=color_scheme)
@@ -488,7 +488,6 b' class Pdb(OldPdb):'
488 488
489 489 return tpl_line % (bp_mark_color + bp_mark, num, line)
490 490
491
492 491 def print_list_lines(self, filename, first, last):
493 492 """The printing (as opposed to the parsing part of a 'list'
494 493 command."""
@@ -706,7 +705,7 b' class Pdb(OldPdb):'
706 705
707 706 Will skip hidden frames.
708 707 """
709 ## modified version of upstream that skips
708 # modified version of upstream that skips
710 709 # frames with __tracebackide__
711 710 if self.curindex == 0:
712 711 self.error("Oldest frame")
General Comments 0
You need to be logged in to leave comments. Login now