Description
ChatGDB is a tool that brings ChatGPT into the GDB and LLDB debuggers for compiled languages. You describe what you want in natural language, and it works out the relevant debugger command and runs it. You can also ask it to explain the command it just ran, or pass in any question for ChatGPT to answer. Installation uses pip and needs Python 3.3 or newer. After installing, you run the tool's executable to set your API key. You can choose the model from two options, and if you use a non-official API provider you can set a custom API URL. The settings are saved as text in the install folder. Updates run through pip, and compressed scripts are also available on the releases page. The README suggests sourcing its main script from your debugger configuration for GDB use. The project is on GitHub and welcomes contributions.…
Highlights
- Natural-language requests turned into GDB or LLDB commands
- Explain the last command or ask ChatGPT a question
- Custom API URL for non-official providers
- Installs with pip on Python 3.3 or newer
Ratings & Reviews
No ratings yet
Be the first to rate ChatGDB.
People also visit
ChatGDB FAQ
What is ChatGDB?
A tool that adds ChatGPT to the GDB and LLDB debuggers.
Do I need an API key?
Yes. After installing, you set your API key with the tool's executable.
How do I install it?
With pip on Python 3.3 or newer, or by downloading the compressed files from the releases page.
Can I use another provider?
Yes. You can set a custom API URL for a non-official provider, and choose between two model options.
Which debuggers does it support?
GDB and LLDB, which are used with compiled languages.
What are the best ChatGDB alternatives?
Popular alternatives to ChatGDB include TerminalGPT, Debroid and aider. See all ChatGDB alternatives

