On Jan 8, 2014, at 7:58 AM, Werner <[email protected]> wrote:

>> Part of the inheritance tree of dControlMixin is dObject.
> When I debug this the breakpoint in dObject.__init__ is not hit before I get 
> the exception on line 512 which is in toolbar.py - dToolBarItem.__init__.

Strange, since your traceback shows this happening in the toolbar's 
_afterInit() method, which means that the __init__() have been fully executed 
first.

> Any idea/tip on how I can debug/find what is causing this?

All I do is insert lots of 'print' calls to trace execution. You could also try 
stepping through with pudb, which is infinitely more useful than Python's pdb.


-- Ed Leafe


_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: 
http://leafe.com/archives/byMID/[email protected]

Reply via email to