←back to thread

376 points turrini | 1 comments | | HN request time: 0.199s | source
Show context
VyseofArcadia ◴[] No.42147073[source]
For the Emacs users in the crowd, GUD is a pretty great GDB integration.
replies(4): >>42147285 #>>42147467 #>>42148175 #>>42156144 #
1. alexhutcheson ◴[] No.42147467[source]
I prefer the GDB Graphical Interface in Emacs[1] (M-x gdb), rather than the more basic integration via GUD[2] (M-x gud-gdb). I’ve had to switch to GUD to run lldb recently, and I miss having dedicated windows that show breakpoints, threads, the current stack, etc.

The one nice thing about GUD is that the interface is consistent across debuggers, so I don’t need to refresh myself on the keyboard shortcuts when switching between debugging Python with pdb and C++ with lldb.

[1] https://www.gnu.org/software/emacs/manual/html_node/emacs/GD...

[2] https://www.gnu.org/software/emacs/manual/html_node/emacs/St...