3 ms·
For the Emacs users in the crowd, GUD is a pretty great GDB integration.
by VyseofArcadia 2y ago
For the Emacs users in the crowd, GUD is a pretty great GDB integration.
- cherryteastain 2y agolsp-mode+dap-mode also work well but requires some manual fiddling with launch.json files
- alexhutcheson 2y agoI 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/GDB-Graphical-Interface.html https://www.gnu.org/software/emacs/manual/html_node/emacs/GD... [2] https://www.gnu.org/software/emacs/manual/html_node/emacs/Starting-GUD.html https://www.gnu.org/software/emacs/manual/html_node/emacs/St...
- seanw444 2y agoEver since the advent of LSP, Emacs has felt superior to everything else. I have no reason to leave it. Especially once they made it faster with native comp. Like why should I keep trying this month's new editor with a couple new gimmicky features, when I can just pop a plugin onto Emacs that adds that exact feature set, while maintaining everything else how I like it. I first really got into coding when Atom was a thing, and then that died off and became VS Code and I was pretty sad about it, because while VS Code is good, it doesn't follow the same philosophy as Atom. But then I took the time to learn Emacs ~4 years ago, and nothing new ever comes close to convincing me it's outdated tech that I need to move on from. That was a random rant, but I'm just really appreciate Emacs, and I'm glad it's stuck around.
- VyseofArcadia 2y agoEven before the dawn of the LSP era, Emacs was pretty great with ctags.
- seanw444 2y agoYeah I first gave it a try before LSP and I don't think I was ready to be redpilled yet, because it didn't stick. So I can't comment on the state of it before then. I kinda joined once the LSP stuff got fairly smoothed out.
- idahoduncan 2y agodape ( https://github.com/svaante/dape# https://github.com/svaante/dape# ) is a great option for languages with debuggers implementing the Debug Adapter Protocol. Combined with debugpy it's killed M-x pdb for me, and has a very similar UI to M-x gdb.