##// END OF EJS Templates
Restore completion in debugger....
Matthias Bussonnier -
Show More
@@ -28,7 +28,7 b' except ImportError:'
28 except ImportError:
28 except ImportError:
29 profile = pstats = None
29 profile = pstats = None
30
30
31 from IPython.core import debugger, oinspect
31 from IPython.core import oinspect
32 from IPython.core import magic_arguments
32 from IPython.core import magic_arguments
33 from IPython.core import page
33 from IPython.core import page
34 from IPython.core.error import UsageError
34 from IPython.core.error import UsageError
@@ -801,7 +801,11 b' python-profiler package from non-free.""")'
801 If the break point given by `bp_line` is not valid.
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 # reset Breakpoint state, which is moronically kept
809 # reset Breakpoint state, which is moronically kept
806 # in a class
810 # in a class
807 bdb.Breakpoint.next = 1
811 bdb.Breakpoint.next = 1
General Comments 0
You need to be logged in to leave comments. Login now