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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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