News for hackers. Stuff that matters.
Re:How to spy on a Ruby program by eeZi on Sunday June 12, 2016 @09:49AM (#11888063)
For Python, you can just use Pyrasite (https://github.com/lmacken/pyrasite) and inject a script which prints a stack trace for all threads.

I've done this to debug OpenStack in the past and it worked very well. There are many similar projects for Python, I used this one since it's in the RHEL repo.

Useful summary on StackOverflow: https://stackoverflow.com/questions/4163964/python-is-it-pos...

There are no comments on this comment yet.