Skip to main content

The Debug Adapter Protocol (DAP) implementation for the ipdb debugger.

Project description

ipdab

UNDER CONSTRUCTION

A Debug Adapter Protocol for the ipdb debugger.

Installation

pip install git+https://github.com/mvds314/ipdab.git

Or, clone the repository and install with:

pip install -e .

Usage

Just like ipdb, use ipdab in the code you want to debug:

print("Hello, world!")
print("Starting ipdab...")

import ipdab

ipdab.set_trace()

print("This will be debugged.")

TODO

  • Add Neovim shortcuts
  • Add support for j, as in jump
  • Test or add support for return
  • Test or add support for until
  • Test on slower hardware
    • It seems that dapuit is timing out
    • Try to start it with fewer windows
  • Create a pypi package
    • Update the documentation
    • Cleanup the repo
    • Write pipelines for publishing and such
  • Create a Neovim plugin
  • Write a blog post about debugging

Later

  • Fix compatiblity with ipython 9.1.0 and higher, entering the debugger seems to break
  • Check how ipdab works with module reloads
  • Consider post mortem support

Nice

  • Fix RuntimeError: cannot schedule new futures after shutdown when exiting ipdb with next (common issue)

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

ipdab-25.8.2.tar.gz (13.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ipdab-25.8.2-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

Details for the file ipdab-25.8.2.tar.gz.

File metadata

  • Download URL: ipdab-25.8.2.tar.gz
  • Upload date:
  • Size: 13.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ipdab-25.8.2.tar.gz
Algorithm Hash digest
SHA256 1aa4a396076d3d5e425b94e29c19dcfc5da0abbed91cefe5186c8cfdf569531e
MD5 1cb7bcc1d914037c384281c1505596ea
BLAKE2b-256 4449f0d9a5a8e4a4d35e7ae3eb7ef338821c46e84e1c5689315546790ed3677a

See more details on using hashes here.

Provenance

The following attestation bundles were made for ipdab-25.8.2.tar.gz:

Publisher: python-publish.yml on mvds314/ipdab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ipdab-25.8.2-py3-none-any.whl.

File metadata

  • Download URL: ipdab-25.8.2-py3-none-any.whl
  • Upload date:
  • Size: 13.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ipdab-25.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 db2cc289be5d339c46a56987d0cd852e1c4dfe8aa5943c7168389982327093d4
MD5 6ec7017f690fc6bc256d8e1d453adc07
BLAKE2b-256 be506a9c32418b48f5b5169d52a8f9e3710c2b8daac71403e37b2de33fb03fed

See more details on using hashes here.

Provenance

The following attestation bundles were made for ipdab-25.8.2-py3-none-any.whl:

Publisher: python-publish.yml on mvds314/ipdab

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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