GDB Debugger Complaints
The cluster focuses on frustrations with GDB's user interface and usability compared to Visual Studio's debugger, along with recommendations for GDB frontends like gdbgui, gdb-dashboard, and integrations with Emacs or VSCode.
Activity Over Time
Top Contributors
Keywords
Sample Comments
Every time I touch gdb I curse, "why isn't this easier to inspect code, watch variables, have multiple views, etc, like Visual Studio's debugger since 1995"
Can you name some "better than gdb" debuggers. I'm pretty frustrated with gdb, but all the alternatives I tried in the past have sucked as hard or more than gdb.
sometimes gdb is what you got. cant always have visual studio when debugging something in a server.
visual studio's debugger is miles ahead of gdb and has been for 30 years
I just use gdb. If you prefer something more visual you can look at gdb dashboard or some front end
I've used gdb exclusively for over 10 years now (been working on Linux, worked on Windows prior to that). gdb may well be more powerful overall, but for common use cases (setting breakpoints, stepping in/out, examining values) I still miss the Visual Studio debugger. It's the only thing from Windows I miss.
A nice UI on top of GDB might be all you need. I've used this with some success in the past: https://www.gdbgui.com/
I know that GDB is powerful and scriptable and very useful in environment where you don't have anything else. But I'm sorry to say, what you showed wasn't very discoverable and the UI was faaar from amazing.I don't know if you've tried it, but whenever you have a bit of time try Visual Studio's (or even Visual Studio Code's) debugger. They're among the best visual debuggers out there. Or IntelliJ's.You see directly all the variables as you step
GDB (I don't use LLDB) is fully programmable and has multiple user interfaces (TUI, Emacs, DDD, graphical frontends and various .gdbinit configurations that emulate SoftICE L&F).It's a power tool and takes some time and effort to learn and master. Superficially dismissing it / wasting your time with something that in all likelihood will end up going nowhere while lacking most features that make GDB great, does not a good recommendation make.At least you'll probably
Have you tried to use GDB from emacs? It's like Visual Studio