GithubHelp home page GithubHelp logo

pgosar / chatgdb Goto Github PK

View Code? Open in Web Editor NEW
896.0 9.0 31.0 548 KB

Harness the power of ChatGPT inside the GDB or LLDB debugger!

License: MIT License

Python 100.00%
chatgpt debugging-tool gdb gpt-3 lldb

chatgdb's Introduction

Currently interested in applied ML and systems/infra.

chatgdb's People

Contributors

fraotiac avatar kunalgosar avatar pgosar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chatgdb's Issues

add support for gpt-4?

Looks like the project only supports GPT-3.5 right now, but it would be great if there was a way we could have that as a configurable option.

Undefined command error

Any way around this? I'm running arm-none-eabi-gdb

.../.gdbinit:1: Error in sourced command file:
/opt/homebrew/lib/python3.11/site-packages/chatgdb/core.py:3: Error in sourced command file:
Undefined command: "from".

Get OpenAI key from environment variable?

The openai package for Python recognizes an environment variable, OPENAI_API_KEY, and will get the key from that if set. I recommend implementing that.

You might consider using the openai package to handle all the API calls to chatGPT because of the simplification and you'll get the environment variable thing for free.

What's really intriguing is could chatGPT more directly help you figure out the bug by strategizing on a solution.

Good first steps for contributing?

Hi developers,
Can you point me to good first steps towards learning the pre-reqs for this project (video tutorials, books etc). I was always passionate about the idea of a smoother debugging workflow, but hardly have any idea as to how to 'hack into' a code-editor's debugger and make it work programmatically. Any help is much appreciated. Looking forward to making a small contribution to this amazing project! ๐Ÿ˜ Thank you!

lldb support

i'd love to be able to use chatgdb from lldb, especially since lldb has better support for swift and rust

TypeError when communicating with GPT API

Hi I got this error complaining the JSON object must be str not bytes, is this a known problem? In the meantime I can try to debug the problem :

gdb-peda$ explain Python Exception <class 'TypeError'>: the JSON object must be str, not 'bytes' Error occurred in Python: the JSON object must be str, not 'bytes'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.