Closed davidandreoletti closed 2 days ago
@davidandreoletti thanks for your request. This is perhaps something that can be baked into austin-python. It would still be the process you described, but it would be done automatically when a signal is sent to the process. In the meantime, echion already implements this, so perhaps you can give that a try 🙂 .
Description
Problem:
A python program runs and gets stuck somewhere (except main thread). I would like to send a signal (eg USR2) to the python process which then calls Austin programmatically to produce a sample to see all stack frame at the time of the signal is received.
Workaround Right now, Austin is cli program. It requires:
A python programming interface handling these would facilitate embedding Austin in applications directly:
Additional Information
Your project is fantastic, well written, clean and useful. Thank you.