have this same error on python 2.6.4 and ipython 0.10 (amended topic to that effect).
/usr/lib/pymodules/python2.6/IPython/Magic.pyc in magic_run(self, parameter_s, runner, file_finder)
1631 maxtries = 10
1632 bp = int(opts.get('b',[1])[0])
-> 1633 checkline = deb.checkline(filename,bp)
1634 if not checkline:
1635 for bp in range(bp+1,bp+maxtries+1):
/usr/lib/python2.6/pdb.pyc in checkline(self, filename, lineno)
450 line or EOF). Warning: testing is not comprehensive.
451 """
--> 452 line = linecache.getline(filename, lineno, self.curframe.f_globals)
453 if not line:
454 print >>self.stdout, 'End of file'
AttributeError: Pdb instance has no attribute 'curframe'
have this same error on python 2.6.4 and ipython 0.10 (amended topic to that effect).
/usr/lib/ pymodules/ python2. 6/IPython/ Magic.pyc in magic_run(self, parameter_s, runner, file_finder) get('b' ,[1])[0] ) filename, bp) 1,bp+maxtries+ 1):
1631 maxtries = 10
1632 bp = int(opts.
-> 1633 checkline = deb.checkline(
1634 if not checkline:
1635 for bp in range(bp+
/usr/lib/ python2. 6/pdb.pyc in checkline(self, filename, lineno) getline( filename, lineno, self.curframe. f_globals)
450 line or EOF). Warning: testing is not comprehensive.
451 """
--> 452 line = linecache.
453 if not line:
454 print >>self.stdout, 'End of file'
AttributeError: Pdb instance has no attribute 'curframe'