4 ms·
To save everyone a click: https://pypi.python.org/pypi/pyrasite/ https://pypi.python.org/pypi/pyrasite/ Wish I'd known about that years ago just for the abilit
by colanderman 10y ago
To save everyone a click: https://pypi.python.org/pypi/pyrasite/ https://pypi.python.org/pypi/pyrasite/
Wish I'd known about that years ago just for the ability to grab a call stack from a running program.
- cyphar 10y agoFor those wondering how it works, it's basically just a wrapper around gdb which calls the internal C exec implementation in the Python interpreter (which then executes some other script file which you specify). Pretty cool.