pytrace 0.2.1

A fast Python tracer
pytrace is a fast Python tracer that records function calls, arguments and return values.

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.

Install

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

install pytrace:

pip install pytrace

Usage

Invoke pytrace with your script:

 pytrace foo.py --bar

Invoke the reader from the same directory by executing pytrace with no arguments:

 pytrace

The reader can be invoked while the script is running. providing 'online' debugging capabilities.

last updated on:
August 24th, 2012, 17:40 GMT
price:
FREE!
developed by:
Alon Horev
license type:
LGPL (GNU Lesser General Public License) 
category:
ROOT \ Programming \ Debuggers

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

4 Screenshots
pytracepytracepytracepytrace

Add your review!

SUBMIT