Show More
@@ -86,5 +86,11 b' def set_trace(frame=None):' | |||
|
86 | 86 | |
|
87 | 87 | if __name__ == '__main__': |
|
88 | 88 | import pdb |
|
89 | # IPython.core.debugger.Pdb.trace_dispatch shall not catch | |
|
90 | # bdb.BdbQuit. When started through __main__ and an exception | |
|
91 | # happened after hitting "c", this is needed in order to | |
|
92 | # be able to quit the debugging session (see #9950). | |
|
93 | old_trace_dispatch = pdb.Pdb.trace_dispatch | |
|
89 | 94 | pdb.Pdb = TerminalPdb |
|
95 | pdb.Pdb.trace_dispatch = old_trace_dispatch | |
|
90 | 96 | pdb.main() |
General Comments 0
You need to be logged in to leave comments.
Login now