{ "info": { "author": "Michael Moser", "author_email": "moser.michael@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Debuggers" ], "description": "utilities for tracing of python scripts; works similar to trace.py, it can also print out function parameters and return values\nas well as modification of global and local variables.\n \ncan be invoked as a script (after installing the package)\n \npython -m trace/ntrace [options] [command line of python file to trace]\n \nBy default it shows function parameters and function return values\n \nOptions:\n -f trace function parameter calls (default: on)\n -F do not trace function parameters\n \n -r trace function return values (default: on)\n -R do not trace function return values\n \n -l trace source lines before they are executed (default: on)\n -L do not trace source lines before they are executed\n \n -s trace setting of variablesa (default: off)\n -S do not trace setting of variables\n \n -g trace getting of variables (default: off)\n -G do not trace getting of variables\n \n -o print out object content (default: off)\n -O do not print out object content\n \n -t show the current thread id in prefix for each source line (default on)\n -T hide the current thread id \n \n -n show the nesting level, how many levels down the call stack (default on)\n -N hide the nesting level\n \nBy default the following options are on: -l -f -r\n \ncan be invoked as an api\n \n-----\n\nclass NTraceFromCommandLine\n command line parser for ntrace\n \n Methods defined here:\n\t__init__(self, argv)\n\n---- \n\nclass NTracer\n the tracer object; invoke this class to run a python file with tracing\n \n Methods defined here:\n\t__init__(self, traceOptions=31, follow_objects=False)\n\t object constructor; options are passed as bit mask values via traceOptions parameter, available options:\n \n TO_FUNCTION_ARGUMENTS argument flag: print function arguments\n TO_FUNCTION_RVALUES argument flag: print function return values\n TO_SET_VARS argument flag: print modification of variables\n TO_GET_VARS argument flag: print variable access\n TO_TRACE_SRC_LINES argument flag: show souce lines before they are executed\n TO_SHOW_PREFIX_TID show thread id in prefix string of lines traced \n TO_SHOW_PREFIX_NESTING show call strack nesting in prefix string of lines traced \n \n follow_objects parameter is true if object references are to be printed\n trace(self, progname, tracingenabled=True)\n tracer invocation\n progname - python file to be traced\n tracingenabled - if tracing is initially on (True by default)\n\n\n \nFunctions\n \t \t\n enabletrace(on)\n\tenable/disable tracing, can be called from the traced program", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://mosermichael.github.io/cstuff/all/projects/2015/02/24/python-backtrace.html", "keywords": "program tracing,debugging", "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "ntrace", "package_url": "https://pypi.org/project/ntrace/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/ntrace/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://mosermichael.github.io/cstuff/all/projects/2015/02/24/python-backtrace.html" }, "release_url": "https://pypi.org/project/ntrace/0.0.1/", "requires_dist": null, "requires_python": null, "summary": "execution tracer that gives more output than trace.py", "version": "0.0.1" }, "last_serial": 1476523, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "aef734dbe63297a98f1be5fb08e73735", "sha256": "fc5b75dbd7198815d56517ab69035a2a08e13055c92b8d047fa2b7e6cb4d2d72" }, "downloads": -1, "filename": "ntrace-0.0.1.tar.gz", "has_sig": false, "md5_digest": "aef734dbe63297a98f1be5fb08e73735", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11277, "upload_time": "2015-03-25T08:12:24", "url": "https://files.pythonhosted.org/packages/f2/9c/695c00b51a4344a7d4cec1564119a3eef1330d8de84d4ebb681bf4b015a2/ntrace-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "aef734dbe63297a98f1be5fb08e73735", "sha256": "fc5b75dbd7198815d56517ab69035a2a08e13055c92b8d047fa2b7e6cb4d2d72" }, "downloads": -1, "filename": "ntrace-0.0.1.tar.gz", "has_sig": false, "md5_digest": "aef734dbe63297a98f1be5fb08e73735", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11277, "upload_time": "2015-03-25T08:12:24", "url": "https://files.pythonhosted.org/packages/f2/9c/695c00b51a4344a7d4cec1564119a3eef1330d8de84d4ebb681bf4b015a2/ntrace-0.0.1.tar.gz" } ] }