Show More
@@ -263,7 +263,13 b' class Pdb(OldPdb):' | |||||
263 |
|
263 | |||
264 | def interaction(self, frame, traceback): |
|
264 | def interaction(self, frame, traceback): | |
265 | self.shell.set_completer_frame(frame) |
|
265 | self.shell.set_completer_frame(frame) | |
266 | OldPdb.interaction(self, frame, traceback) |
|
266 | while True: | |
|
267 | try: | |||
|
268 | OldPdb.interaction(self, frame, traceback) | |||
|
269 | except KeyboardInterrupt: | |||
|
270 | self.shell.write("\nKeyboardInterrupt\n") | |||
|
271 | else: | |||
|
272 | break | |||
267 |
|
273 | |||
268 | def new_do_up(self, arg): |
|
274 | def new_do_up(self, arg): | |
269 | OldPdb.do_up(self, arg) |
|
275 | OldPdb.do_up(self, arg) |
General Comments 0
You need to be logged in to leave comments.
Login now