This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

PyXdebug is Xdebug format debugger for Python

Project Description

Debug a call function:

xd = PyXdebug()
#xd.collect_imports = 1
#xd.collect_params = 0
#xd.collect_return = 0
#xd.collect_assignments = 0
xd.run_func(func)
print xd.get_result()

Debug a execute statement:

xd = PyXdebug()
xd.run_statement(statement)
print xd.get_result()

Debug a run script file:

python pyxdebug.py script_path

Debug a run script file (module):

python -m pyxdebug script_path

Usage: pyxdebug.py [-o output_file_path] [-i collect_import] [-p collect_params] [-r collect_return] [-a collect_assignments] script_path [args …]

Options:
-h, --help show this help message and exit
-o, --outfile Save stats to <outfile>
-i, --collect_imports
 This setting, defaulting to 1, controls whether PyXdebug should write the filename used in import or reload to the trace files.
-p, --collect_params
 This setting, defaulting to 0, controls whether PyXdebug should collect the parameters passed to functions when a function call is recorded in either the function trace or the stack trace.
-r, --collect_return
 This setting, defaulting to 0, controls whether PyXdebug should write the return value of function calls to the trace files.
-a, --collect_assignments
 This setting, defaulting to 0, controls whether PyXdebug should add variable assignments to function traces.
Release History

Release History

This version
History Node

1.2.5

History Node

1.2.4

History Node

1.2.3

History Node

1.2.2

History Node

1.2.1

History Node

1.2

History Node

1.1

History Node

1.0

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pyxdebug-1.2.5-py2.6.egg (13.6 kB) Copy SHA256 Checksum SHA256 2.6 Egg Nov 30, 2011
pyxdebug-1.2.5.tar.gz (5.8 kB) Copy SHA256 Checksum SHA256 Source Nov 30, 2011

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting