stack_dumpper

Dump stack trace from all threads (including main thread) when CRTL + \ is pressed or SIGQUIT is received.


License
Other
Install
pip install stack_dumpper==0.0.2

Documentation

python-stack-dumpper

Dump stack traces when SIGQUIT is received

Installing

pip install stack_dumpper

Usage

Import stack_dumpper anywhere in your code and call stack_dumpper.setup_dumpper().

To try it, run your code and press CRTL + \ or send a SIGQUIT to your process ie:

kill -SIGQUIT PID

And if you want, you can call stack_dumpper.dump_data() at any time on your code or debug session.

See it in action

asciicast