pytrace

Software Screenshot:
pytrace
Software Details:
Version: 0.2.1
Upload Date: 20 Feb 15
Developer: Alon Horev
Distribution Type: Freeware
Downloads: 9

Rating: nan/5 (Total Votes: 0)

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.

Requirements:

  • Python

Screenshots

pytrace_1_76305.png
pytrace_2_76305.png
pytrace_3_76305.png

Similar Software

ltrace
ltrace

20 Feb 15

radare
radare

11 May 15

otrace
otrace

20 Feb 15

jarvis
jarvis

20 Feb 15

Comments to pytrace

Comments not found
Add Comment
Turn on images!