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.
Metadata
Release files for pyxdebug 1.2.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pyxdebug-1.2.5.tar.gz | 5.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyxdebug-1.2.5-py2.6.egg | Legacy Egg format | - | - | Details |
Total release size: 19.3 kB
Release files / pyxdebug-1.2.5.tar.gz
| Download URL | pyxdebug-1.2.5.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
80de4a945b303e6d937d45d0ffbd22aaf31e4b094dec689b92d3c4e5399731cd
|
|
BLAKE2b-256 checksum How to use checksums |
564eb2678c302998fb98104ae48882ea4906274ca60c2ae7e3e11ee0cf8b63cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pyxdebug-1.2.5-py2.6.egg
| Download URL | pyxdebug-1.2.5-py2.6.egg |
|---|---|
| Size | 13.6 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
7cea7a75520097df7187df9d168b3489e3e8b023f59d90726d31657e5b258651
|
|
BLAKE2b-256 checksum How to use checksums |
4dcf1e40e70be389bd28c2567af5488dc5309c5c51249a13270d6e3dc0b5c131
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pyxdebug 1.2.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.