I wanted to revisit using 'inject' to test an ojbc-based app, but... it
appears objc.inject() is broken (again). Can anyone confirm this? I can't
seem to get it to work. I tried this on Leopard, both with the stock PyObjC
and the latest (as of yesterday) from the svn repository. I know it was
broken on Tiger for a while, and at one point the InjectInterpreter example
would work (on Tiger) if you ran it with sudo, but that doesn't work for me
now (on Leopard) either.
On the Leopard system where I built and installed PyObjC 2.1 TOT, I got some
console spew that looks like it couldn't find the 'objc' module on import.
So maybe i messed up when I built my own pyobjc....
However, on a 10.5.2 system with a purely stock Leopard/Python/PyObjC, etc.,
I get nuthin in the console that indicates that it failed to load. But I
get no interpreter window. As a matter of interest, on this system I _did_
manage to get the "InjectBrower" to work on TextEdit (although it crashed
after clicking around some). So inject must be working in some form...