[IPython-User] IPython.Debugger with v0.10 and 0.11
Sun Apr 22 23:28:03 CDT 2012
On Fri, Apr 13, 2012 at 2:08 AM, Johannes Korn <firstname.lastname@example.org> wrote:
> However, with ipython v0.11 this does not work anymore (see below). I´m
> not sure where I got this snippet from so maybe this was never intented
> to be used for setting breakpoints?! Is there a method that works in
> ipython v0.10 and v0.11?
Mmh, the traceback you're showing is an 0.10.x traceback:
> /usr/local/lib/python2.7/site-packages/IPython/Debugger.pyc in
> print_stack_entry(self, frame_lineno, prompt_prefix, context)
> 330 frame, lineno = frame_lineno
> 331 filename = frame.f_code.co_filename
> --> 332 __IPYTHON__.hooks.synchronize_with_editor(filename,
> lineno, 0)
> 333 # vds: <<
> AttributeError: 'function' object has no attribute 'synchronize_with_editor'
In 0.11 and newer, the Debugger module doesn't live in the top-level
directory, so that can't be a 0.11 traceback, I'm afraid.
More information about the IPython-User