Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-announce-list@python.org Delivered-To: python-announce-list@mail.python.org X-Spam-Status: OK 0.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'url:pypi': 0.03; 'classes,': 0.05; 'messages.': 0.05; 'output': 0.05; 'debugging': 0.07; 'modifying': 0.07; 'debugger': 0.09; 'methods,': 0.09; 'objects,': 0.09; 'statements': 0.09; 'url:github': 0.09; 'programs.': 0.13; 'requests': 0.15; 'bsd': 0.16; 'enjoy,': 0.16; 'excerpt': 0.16; 'filesystem': 0.16; 'license:': 0.16; 'sequential': 0.16; 'subject:object': 0.16; 'subject:oriented': 0.16; 'supported.': 0.16; 'tab': 0.16; 'tracing': 0.16; 'variables': 0.22; 'installed': 0.25; 'print': 0.25; 'command': 0.26; 'message-id:@mail.gmail.com': 0.27; 'insert': 0.27; 'initiate': 0.29; 'instance': 0.29; 'operations.': 0.29; 'relies': 0.29; 'trace': 0.29; 'handled': 0.29; 'code': 0.31; 'program,': 0.31; 'url:python': 0.31; 'objects': 0.32; 'url:code': 0.32; 'interface,': 0.33; 'limitations': 0.33; 'version:': 0.33; 'server': 0.33; 'running': 0.34; 'skip:- 10': 0.34; 'received:google.com': 0.34; 'project': 0.35; 'received:209.85': 0.35; 'url:org': 0.35; 'addresses': 0.36; 'received:209': 0.37; 'virtual': 0.38; 'some': 0.38; 'received:209.85.210': 0.38; 'brief': 0.38; 'method': 0.39; 'release': 0.39; 'to:addr:python.org': 0.39; 'takes': 0.39; 'from:': 0.39; 'header:Received:5': 0.39; 'where': 0.40; 'simple': 0.60; 'provide': 0.62; 'first': 0.62; 'techniques': 0.63; 'different': 0.63; 'here': 0.65; 'to:addr:python-announce-list': 0.66; 'taking': 0.67; 'receive': 0.71; 'programs,': 0.72; 'url:info': 0.74; 'completion': 0.76; 'asynchronous': 0.84; 'ps.': 0.84; 'streams': 0.84; 'browse': 0.93 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=jXJi66JqJYp1W3AuRXYZGoKYl7Vv0ByNFnKMjIUlJDY=; b=Z1U3lDSY53+YzTL6V3rI//kRsB7XC2ZhhnEP99G68aZ7Zw2BfyyhI2tT+Rop1JSszL aOKOfZxz34JQpr8CbjzbHz65QQYVciBTpD/60+seOMjgIwLlOkzxDeHhbORwvpTKjXRH 3A4swgzmQxDfog5MLA+mbY1YXEthMrDOS0iRNX64pbg5XgSDi6gT/q0KbksjfgjpWvtO eMaSRCJE9kHOoTPmTtSw+d10lM3K1yAOkkk5h0j4jH8BEoTm46cIeHwJhAbHG2lZBaU+ R0FpQY9vbf7JA0OScEgKAaH9D4Rsnme14LHCGhQ0NVU2f7cgKEvMSVdbwqzReq4ZU61p uqLg== MIME-Version: 1.0 X-Originating-IP: [74.192.37.195] Date: Sun, 10 Jun 2012 23:59:55 -0500 Subject: otrace - an object-oriented debugger for nonlinear tracing From: Ramalingam Saravanan To: python-announce-list@python.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmN2CVQj4mkMbQLhKxclkLHAz6aMIY+87zlIvSxBzqi7YsSQXcPANGoq6C3UOKSyXUo080y X-Mailman-Approved-At: Mon, 11 Jun 2012 16:44:55 +0200 X-BeenThere: python-announce-list@python.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: python-list@python.org List-Id: Announcement-only list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Approved: python-announce-list@python.org Newsgroups: comp.lang.python.announce Message-ID: Lines: 43 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1339524393 news.xs4all.nl 6957 [2001:888:2000:d::a6]:34610 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python.announce:573 otrace is an object-oriented debugger for nonlinear tracing of asynchronous or multithreaded interactive 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. This is the first public release of otrace. It can be installed from: http://pypi.python.org/pypi/otrace - Project page: http://info.mindmeldr.com/code/otrace - Source: http://github.com/mitotic/otrace - License: BSD - Version: 0.30 Enjoy, R. Saravanan ------------------ PS. Here is a brief excerpt of terminal output from a demo session, to provide a flavor of oshell command usage: # Initiate tracing of a method globals> cd Receive osh..Receive> pwd /osh/globals/Receive osh..Receive> ls -lf resp* respond = osh..Receive> trace respond Tracing Receive.respond