##// END OF EJS Templates
Merge pull request #9785 from Carreau/debugger...
Thomas Kluyver -
r22708:dc417628 merge
parent child Browse files
Show More
@@ -28,7 +28,7 b' except ImportError:'
28 28 except ImportError:
29 29 profile = pstats = None
30 30
31 from IPython.core import debugger, oinspect
31 from IPython.core import oinspect
32 32 from IPython.core import magic_arguments
33 33 from IPython.core import page
34 34 from IPython.core.error import UsageError
@@ -801,7 +801,11 b' python-profiler package from non-free.""")'
801 801 If the break point given by `bp_line` is not valid.
802 802
803 803 """
804 deb = debugger.Pdb()
804 deb = self.shell.InteractiveTB.pdb
805 if not deb:
806 self.shell.InteractiveTB.pdb = self.shell.InteractiveTB.debugger_cls()
807 deb = self.shell.InteractiveTB.pdb
808
805 809 # reset Breakpoint state, which is moronically kept
806 810 # in a class
807 811 bdb.Breakpoint.next = 1
General Comments 0
You need to be logged in to leave comments. Login now