On Feb 16, 2007, at 12:21 , Ronald Oussoren wrote:
> A self-contained example would help. Writing a unittest would be
> even better, that way I can drop that in the test directory and
> tweak stuff until it works :-)
Oh, hell, I think I've just wasted everyone's time. From what it
looks like, its a debugger problem. When I run the application
normally, the problem doesn't crop up. It's only when I start
stepping through the code that the debugger somehow gets its hands on
the NSKVONotifying swizzled object. When I interact with the
NSKVONotifying_ counterpart from an embedded interpreter, however,
things behave as I would expect. Apparently the PyDev debugger and
PyObjC+NSKVONotifying swizzled objects don't get along.
Unfortunately, that just eliminated a quite useful debugging tool in
certain circumstances :-(
Thanks for your help!
With sufficient thrust, pigs fly just fine.
-- RFC 1925, Fundamental Truths of Networking