Pyddd
Pyddd is a super-GDB debugger which could debug python scripts as the same way to debug c program line by line in the same inferior.
Download
You can also download a snapshot from the Git repository:
Installation
Since Pyddd is written in the Python language, you need to install Python (the required version is at least 2.6).
Linux
Rebuild GDB with Python and reinstall it.
$ tar xzf gdb-7.8.1.tar.gz
$ cd gdb-7.8.1
$ ./configure --with-python=python --with-babeltrace=no \
--enable-tui=no --enable-host-shared
$ make && make install
Extract Pyddd package, copy libddd.py to gdb data directory.
$ cp libddd.py /usr/local/share/gdb/python
Build pyddd-ipa.
$ gcc -g -fPIC -I/usr/include/python2.7 -Wl,-lpthread -shared -o \
python-ipa.so ipa.c
$ cp python-ipa.so /usr/local/lib
Windows
Install Cygwin.
Rebuild GDB with Python in Cygwin and reinstall it.
$ tar xzf gdb-7.8.1.tar.gz
$ cd gdb-7.8.1
$ ./configure --with-python=python --with-babeltrace=no \
--enable-tui=no --enable-host-shared
$ make && make install
Unzip Pyddd package, copy libddd.py to gdb data directory.
$ cp libddd.py /usr/local/share/gdb/python
Open Cygwin Terminal, build pyddd-ipa.
$ gcc -g -I/usr/include/python2.7 -Wl,-lpthread -shared -o \
python-ipa.dll ipa.c
$ cp python-ipa.dll /usr/local/lib
Quick Start
After installation, invoke the command prompt, go to the directory including the debugged script foo.py and run those commands (assume pyddd is extracted at /usr/local/pyddd):
$ gdb -x /usr/local/pyddd/init.gdb
(gdb) py-exec-file python
(gdb) py-file foo.py
(gdb) py-start
For more, see pyddd.rst and rationale.rst.
Metadata
Release files for python-ddd 0.2.3
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 | |
|---|---|---|---|---|
| python-ddd-0.2.3.tar.bz2 | 28.2 kB | Without provenance | Details |
Release files / python-ddd-0.2.3.tar.bz2
| Download URL | python-ddd-0.2.3.tar.bz2 |
|---|---|
| Size | 28.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b6ef016c4baef90aa1ef2cb78b4fe1bbf98ef748581277dda67aaca42da23ea2
|
|
BLAKE2b-256 checksum How to use checksums |
a38c4c327519c616dc3c60004137957ca000d467ecfc955f85ed28d6ee3c96a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for python-ddd 0.2.3
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.