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 details)

Uploaded Source

Built Distribution

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

Uploaded Source

File details

Details for the file otrace-0.30.9.tar.gz.

File metadata

  • Download URL: otrace-0.30.9.tar.gz
  • Upload date:
  • Size: 94.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for otrace-0.30.9.tar.gz
Algorithm Hash digest
SHA256 66f37e660043653e467305d2de302668c27c4eb3f26c72e92f8d56e1956fe5a8
MD5 04d9308477a6c41dd021898d63728650
BLAKE2b-256 501609ab70c97ea3ba6c9567eb5fc2c3021478a0d2d951b35d20114347ecc804

See more details on using hashes here.

File details

Details for the file otrace-0.30.9-py2.7.egg.

File metadata

  • Download URL: otrace-0.30.9-py2.7.egg
  • Upload date:
  • Size: 124.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for otrace-0.30.9-py2.7.egg
Algorithm Hash digest
SHA256 0bc913286a1fee5451eeeb8db5e9f79ab8e47c087d75a658b197aa3b40e09ba6
MD5 185866ad2d3fa4056cacb14e7036dcda
BLAKE2b-256 7d2bc2b9764992e97a4f03dfb51f2ed700173a571f60787f2027eda2be2ec1db

See more details on using hashes here.

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