-
Notifications
You must be signed in to change notification settings - Fork 791
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tab completion breaks #325
Comments
Thanks!
So this never worked, or something changed? |
I cannot reproduce it. What terminal are you using? Have you tried another one? |
Thank you for taking the time to look into this!
Autocompletion works perfectly fine before the dashboard appears. It also works as expected when I use the
I tested it in Tmux (with Kitty), Kitty, Alacritty, and Konsole, all exhibiting the same issue. |
I mean, did it ever worked with the dashboard or is it just a recent issue? |
I think it is a recent issue, roughly one or two months ago. It seems to have appeared after I reinstalled my system. |
No, it's not related to the system reinstallation. It worked well in 2024-11-26 and it breaks later. Unfortunately, I can't recall the exact date. |
I see, it's not a change in the dashboard either... |
Yeah, I suspect it might be an upstream issue. I'll test different GDB versions and follow up with the results. |
It is indeed an upstream issue. I’m using Arch, and after downgrading GDB from version 15.2 to 14.2, the autocompletion works fine in the dashboard. |
I found the same issue in pwndbg/pwndbg#2232, where they thoroughly identified the root cause. It seems that GDB is using deprecated Python 3.12 functions, which were removed in Python 3.13. As a result, GDB calls Python's readline module, causing the problem. |
This plugin is amazing; I can't use GDB without it anymore.
However, I noticed that the Tab key autocompletion fails and inserts an actual tab instead after the dashboard showes up.
I’d be happy to provide more detailed information to help resolve this issue.
2025-01-03.18-05-43.mp4
I use the latest gdb-dashboard config file and only add these two lines at the bottom
This is my gdb version below
#217
The text was updated successfully, but these errors were encountered: