What gdb frontend do you prefer (linux)

20 points by kghose


I found the basic gdb ui painful and gdb -tui confusing. I love dlv for golang debugging.

Before I drop back to printf debugging is there a frontend I should try?

Shorden

Would highly recommend pwndbg. Don’t be fooled by the lack of a GUI app, as this presents much more (useful) information than stock gdb while remaining a TUI. Yes, many of the features are catered to binary exploitation specifically, but as it turns out things like being able to inspect the glibc heap are also useful for tracking down strange allocation patterns.

purplesyringa

It's not exactly a frontend, but gef extends gdb with an automatically updated "context" view containing registers, stack contents, disassembly, and source code. It's more oriented towards low-level debugging, but I find it useful regardless.

mariusor

It's not a TUI, but you could try Seer.

Personally I'm eagerly waiting for the rad debugger to make it's way to linux.

kryptiskt

I like QtCreator's debugger, it's nicely laid out. You don't have to create a QtCreator project to debug with it. You can either start an executable via a dialog or connect to a running program by PID.

david_chisnall

One of the reasons I prefer lldb to gdb is that the commands are much more consistent. There are a few aliases that match the gdb versions for common things but generally things are a lot more discoverable. For example, imagine you set a breakpoint and want to make it conditional. You go to the help for the breakpoint command. In gdb, that doesn’t help because it’s an entirely different top-level command to add a condition for a breakpoint. In lldb, it’s an argument to the breakpoint command and there’s a simple path from help breakpoint to knowing the answer.

hugoarnal

Mostly I only use the gdb tui. However, when I get annoyed, I end up using gf (then printf debugging...)

abbeyj

I usually use cgdb (homepage, github). Sadly there have been no new releases for over 4 years and it looks like development has pretty much stopped.

jmecom

I like https://github.com/cyrus-and/gdb-dashboard

hoistbypetard

I like Jetbrains. (So Clion for C/C++.)

I used to love ddd, but it's kinda tough to build and use these days (or last time I tried to use it anyway).