Skip to main content

python-ddd is a super-GDB debugger used to debug python scripts line by line in GDB

Project description

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

Since Pyddd is written in the Python language, you need to install Python (the required version is at least 2.6).

You can also download a snapshot from the Git repository:

Installation

Linux

  • First, you need build GDB with Python.

  • Then, unzip Pyddd package, build pyddd-ipa.

$ gcc -g -I/usr/include/python2.7 -Wl,-lpthread -shared -o \
python-ipa.so ipa.c

Windows

  • First, you need install Cygwin.

  • Next, build GDB with Python in Cygwin.

  • Then, unzip Pyddd package, open Cygwin Terminal, build pyddd-ipa.

$ gcc -g -I/usr/include/python2.7 -Wl,-lpthread -shared -o \
python-ipa.dll ipa.c

Quick Start

After installation, invoke the command prompt, go to the directory with Pyddd installed and run those commands:

$ gdb
(gdb) source init.gdb
(gdb) exec-file python
(gdb) py-file foo.py
(gdb) py-start

For more, see pyddd.rst and rationale.rst

Project details


Download files

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

Source Distribution

python-ddd-0.1.3.zip (35.0 kB view details)

Uploaded Source

File details

Details for the file python-ddd-0.1.3.zip.

File metadata

  • Download URL: python-ddd-0.1.3.zip
  • Upload date:
  • Size: 35.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for python-ddd-0.1.3.zip
Algorithm Hash digest
SHA256 cff97d96a4fca90efd75eeb1896043d24519e759406fcdd547f25afd4f46109a
MD5 28988cb910543cddc644b8c2bc626242
BLAKE2b-256 59b7a1846534ae9ab6e0771fddf605112307f7030bb4a77aa753920ff9c02779

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page