Skip to main content

An object-oriented python debugger for nonlinear tracing

Project description

otrace is an object-oriented debugger for nonlinear tracing of asynchronous or multithreaded interactive python programs. It addresses some of the limitations of sequential debugging techniques which do not work well with server programs, where multiple requests are handled in parallel. For example, instrumenting web servers with print/logging statements can often result in voluminous log output with interleaved streams of messages.

otrace takes a different approach to debugging that relies less on sequential operations. Its features including taking “snapshots” of variables for tracing, “tagging” objects for tracking across different method invocations, and modifying live code (“monkey patching”) to insert print statements etc.

otrace maps all the objects in the running program, as well as the “snapshot” objects, to a virtual filesystem mounted under /osh. It provides a shell-like interface, oshell, with commands like cd, ls etc. that can be used to browse classes, methods, and instance variables in the virtual filesystem. Tab completion and simple wildcarding are supported.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

otrace-0.30.9.tar.gz (94.1 kB view hashes)

Uploaded source

Built Distribution

otrace-0.30.9-py2.7.egg (124.8 kB view hashes)

Uploaded any

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page