Skip to main content

Harness the power of ChatGPT directly inside the GDB debugger!

Project description

ChatGDB

Harness the power of ChatGPT inside the GDB debugger! Image

Installation instructions

For now, the easiest way to install this is to simply clone the repository. You will need an API key, which you can get from here. Create a .env file in the root of the project following the example provided with your key.

How to use

While inside gdb, source the core.py file with source /path/to/core.py. Then you can use the command chat_gdb appended by your query, for example chat list all breakpoints that I created. There is also a command called explain that you can use with no arguments to explain the previously run command, and optionally, with a query to just ask GPT a question.

You can also edit your $HOME/.gdbinit and source the file automatically on startup.

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

chatgdb-0.2.0.tar.gz (503.5 kB view details)

Uploaded Source

Built Distribution

chatgdb-0.2.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file chatgdb-0.2.0.tar.gz.

File metadata

  • Download URL: chatgdb-0.2.0.tar.gz
  • Upload date:
  • Size: 503.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for chatgdb-0.2.0.tar.gz
Algorithm Hash digest
SHA256 a084217cfd707740c70f7195e9959f783b36ab4aae433b4fb99f1cb9d931bec4
MD5 f4b7392053ae5e1aa8e320674dee2ef5
BLAKE2b-256 ad982925291031e97194d607191bb6823f431f094650751c4c0fd8b314b3179d

See more details on using hashes here.

File details

Details for the file chatgdb-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: chatgdb-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.10

File hashes

Hashes for chatgdb-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 91f7d18759e63176badac487dd80ad03fe0b5e8b6c370f65bfbb7164d0e58a9d
MD5 0f2c55064ace07156d9a8b947fa83907
BLAKE2b-256 2252bc72bb25801e62d2b592005cf713aa0063afa581091355bf31588c1dabf3

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