Provide facility to obtain low-level stacktraces from within Python.
This project relies on libunwind, which works on Unix-like and OSX system.
Supports:
- Python >= 3
- Linux and OSX
- Access to C stack backtrace inside Python.
- Useful for debugging code that interleave native code and Python code.
- Access to C stack of another thread in the same process.
- Useful for debugging multi-threaded programs.
For development, libunwind must be available. The simplest way is to get libunwind using conda:
conda install -c defaults -c conda-forge libunwind
conda install -c defaults -c numba -c conda-forge stacktrace
Once you have the dependencies, you can run python setup.py install
to
install into your python package directory.