A fast Python tracer
traces aid debugging, profiling and obviate logging.
pytrace has been tested on python 2.7 and python 3.2. (should support 2.6 and up)
pytrace has been tested on os x and several linux distributions.
Follow @alonhorev on twitter for updates.
pytrace depends on sqlite and a C implementation of protocol buffers.
on debian/ubuntu: sudo apt-get install libsqlite3-dev libprotobuf-c0-dev
on fedora: sudo yum install libsqlite3x-devel protobuf-c-devel
on mac (sqlite is included): brew install protobuf-c or port install protobuf-c
pip install pytrace
Invoke pytrace with your script:
pytrace foo.py --bar
Invoke the reader from the same directory by executing pytrace with no arguments:
The reader can be invoked while the script is running. providing 'online' debugging capabilities.