pytrace

0.2.1 LGPL (GNU Lesser General Public License)    
  UNRATED

  220 downloads

A fast Python tracer

description

download

specs

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.
read more   
Last updated on August 24th, 2012

#Python tracer #Python debugger #Python #tracer #debugger #debug

pytracepytracepytracepytrace

0 User reviews so far.

SUBMIT