Error setting a breakpoint when not using an editor (hook synchronize_with_editor)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
IPython |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
When I put a breakpoint in my application using:
from IPython.Debugger import Tracer;
Tracer()()
I get the following breakpoint:
...
File "/usr/lib/
OldPdb.
File "pdb.py", line 157, in interaction
self.
File "/usr/lib/
__IPYTHON_
AttributeError: 'function' object has no attribute 'synchronize_
I guess it can be easily fixed. You just need to check if "hooks" has the method "syncronize_
Fixed in the 0.10 branch, as best as I can see right now.
I should add though that things on this front have changed quite a bit for the 0.11 one, so I'm sure we have still some work to do there for robust use of the ipython debug facilities when embedded elsewhere.