Show More
@@ -122,12 +122,6 b' class Tracer(object):' | |||
|
122 | 122 | sys.excepthook = functools.partial(BdbQuit_excepthook, |
|
123 | 123 | excepthook=sys.excepthook) |
|
124 | 124 | def_colors = 'NoColor' |
|
125 | try: | |
|
126 | # Limited tab completion support | |
|
127 | import readline | |
|
128 | readline.parse_and_bind('tab: complete') | |
|
129 | except ImportError: | |
|
130 | pass | |
|
131 | 125 | else: |
|
132 | 126 | # In ipython, we use its custom exception handler mechanism |
|
133 | 127 | def_colors = ip.colors |
@@ -300,18 +294,10 b' class Pdb(OldPdb, object):' | |||
|
300 | 294 | self.color_scheme_table.set_active_scheme(scheme) |
|
301 | 295 | |
|
302 | 296 | def interaction(self, frame, traceback): |
|
303 | self.shell.set_completer_frame(frame) | |
|
304 | while True: | |
|
305 | 297 |
|
|
306 | 298 |
|
|
307 | break | |
|
308 | 299 |
|
|
309 |
|
|
|
310 | break | |
|
311 | finally: | |
|
312 | # Pdb sets readline delimiters, so set them back to our own | |
|
313 | if self.shell.readline is not None: | |
|
314 | self.shell.readline.set_completer_delims(self.shell.readline_delims) | |
|
300 | sys.stdout.write('\n' + self.shell.get_exception_only()) | |
|
315 | 301 | |
|
316 | 302 | def parseline(self, line): |
|
317 | 303 | if line.startswith("!!"): |
General Comments 0
You need to be logged in to leave comments.
Login now