plasma-umass / ChatDBG

ChatDBG - AI-assisted debugging. Uses AI to answer 'why'
Apache License 2.0
782 stars 47 forks source link

Chat stuck after first followup #51

Open khlevin opened 1 week ago

khlevin commented 1 week ago

Description: On commit 4bb4897efbe257d3ee06916e0713bfed150a079c. Only occurs in GDB, only when LLM tries to call a GDB function using "debug". After the first followup query, ChatDBG appears to get stuck waiting on input. It can still take and execute commands, but does not print the query cost or (ChatDBG gdb) prefix until the user quits. Before quitting, all messages print at once.

Screenshot 2024-09-20 143912

Replication:


gdb ./a.out
run
why Try using print
why Try using print
<Further commands can be given, but the above is enough to trigger the bug>