Skip to content

Comment on Pyrasite - Inject code into a running Python process

Comments

This looks like a great little trick, but I can't get it to work on OS X Lion. Has anyone else on Lion gotten this to work?

I've got Xcode 4.1 installed with dev tools, and it seems like the version of gdb provided doesn't support the -eval-command flag which breaks the script.

I'm wondering if someone else can confirm this problem, and whether there is an easy way to to install a supported version of gdb.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.