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.1.1.tar.gz (503.2 kB view details)

Uploaded Source

Built Distribution

chatgdb-0.1.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for chatgdb-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6690d2624ffa33ef90f90ef941dba2465c3706141c55795277c917de68e8496c
MD5 8b9e2bbf95b7a2a3950f890436b82d9c
BLAKE2b-256 7958fa0daf4bf5e83fbeb416d48f1e9b38bea294bc92540585208d1f083ce058

See more details on using hashes here.

File details

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

File metadata

  • Download URL: chatgdb-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.1 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 60c92c440c4bc362fb3891a5d2c2853047be74818e39ba614ffbe5c2d542a13c
MD5 5a4b62c0cf97be4f1de04917464a119e
BLAKE2b-256 58f6abe609042815cfff971608ff3cbbfb4db9ddbea99d5bfa4a6fa2da826f63

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