I have a python program. It has many eventlet coroutine. It seems that the program have dead lock someday. I have dumped its memory. I want to find reason. The question is how to get eventlet coroutine stack using gdb.
Additional Information:
There is no simple way as with regular threads.
Here are some hints to help you, though:
eventlet.backdoor to have emergency in-process interpreter for debugging http://eventlet.net/doc/modules/backdoor.htmlgc.get_objects() for instances of greenlet, print stack of x.gr_frame In gevent, how can I dump stack traces of all running greenlets?If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With