Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


%debug broken in master #321

rkern opened this Issue · 1 comment

2 participants


I get a traceback whenever I use %debug. Judging from the exception, I think it is related to the merging of the sqlite-history branch.

|4> %debug
AttributeError                            Traceback (most recent call last)
/Users/rkern/<ipython-input-4-86050904a938> in <module>()
----> 1 get_ipython().magic(u"debug")

/Users/rkern/git/ipython/IPython/core/ in magic(self, arg_s)
   1746                 self._magic_locals = sys._getframe(1).f_locals
   1747             with nested(self.builtin_trap,):
-> 1748                 result = fn(magic_args)
   1749             # Ensure we're not keeping object references around:

   1750             self._magic_locals = {}

/Users/rkern/git/ipython/IPython/core/ in magic_debug(self, parameter_s)
   1258         the %pdb magic for more details.
   1259         """
-> 1260
   1262     @testdec.skip_doctest

/Users/rkern/git/ipython/IPython/core/ in debugger(self, force)
    739             # fallback to our internal debugger

    740             pm = lambda : self.InteractiveTB.debugger(force=True)
--> 741         self.history_saving_wrapper(pm)()
    743     #-------------------------------------------------------------------------

/Users/rkern/git/ipython/IPython/core/ in wrapper()
   1265         def wrapper():
-> 1266             self.save_history()
   1267             try:
   1268                 func()

AttributeError: 'TerminalInteractiveShell' object has no attribute 'save_history'

This is a duplicate of #318, and should be closed by #319 once merged.

@minrk minrk closed this
@damianavila damianavila referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.