Comment by HarHarVeryFunny

15 days ago

Do you mean gdb batch mode (which I've heard of others using with LLMs), or the LLM using gdb interactively ?

I wrote a wrapper python script debug.py that will run gdb as a subprocess, and then takes input from the args.

Usage is somewhat like:

$ debug.py start $ debug.py -c "break main" $ debug.py -c "continue"

Cursor at least doesn't seem to like running interactive programs yet.