- at least Python 3.2
- libunwind
- addr2line
To install development version from branch master run:
pip3 install git+https://github.com/trnila/tracer.git
Optional dependencies are colorlog and ipython so if you want to have better interface install them:
pip3 install colorlog ipython
sudo apt-get install python-virtualenv python3-dev git libunwind8-dev python3-pip
virtualenv -p python3 venv3
source venv3/bin/activate
pip3 install git+https://github.com/trnila/tracer.git
pip3 install colorlog ipython # optional
tracer -- sh -c "curl httpbin.com/headers ; cat /etc/passwd | tr a-z A-Z | tac"
For more information about options run
tracer -h
If you clone this repository somewhere, you can run interesting examples though helper script ./examples/run
,
but it requires tracer
and tracergui
in your PATH.
More information is available in documentation.
git clone https://github.com/trnila/tracer
cd tracer
python setup.py develop
Run python -m unittest
or pytest
if you have pytest installed.