News for hackers. Stuff that matters.
Re:Building an Intelligent Emacs by NateEag on Friday February 11, 2022 @07:04PM (#30308561)
I haven't tried it out, as I've long been more of a logging-driven debugger, but there's an analogous tool for debuggers called dap-mode:

https://emacs-lsp.github.io/dap-mode/

Like lsp-mode, it is also built on top of an open standard from Microsoft, the Debug Adapter Protocol:

https://microsoft.github.io/debug-adapter-protocol/

Re:Building an Intelligent Emacs by benreesman on Saturday February 12, 2022 @04:13AM (#30311270)
You might be able to save me some research on this: can DAP drive GDB/LLDB in a seamless way without VSCode as a front-end? GDB has always felt like a time machine back to 1987 at best, `pwndbg` is like a big upgrade on GDB usability against that baseline.

Sidebar: `pwndbg` is extremely easy to build and install and makes terminal GDB suck mucho less, but would be no match for an LSP-style integration that didn't have a ton of rough edges.

Re:Building an Intelligent Emacs by b3morales on Saturday February 12, 2022 @02:05PM (#30315322)
If you're asking because you want to use LLDB or GDB inside Emacs, the RealGUD project is a good option: https://github.com/realgud/realgud
Re:Building an Intelligent Emacs by NateEag on Saturday February 12, 2022 @12:07PM (#30314309)
I'm not sure.

I can see that this extension claims to make debugging with GDB work in VS Code:

https://github.com/WebFreak001/code-debug

and that at least for emacs there exists a plugin to use that extension:

https://github.com/emacs-lsp/dap-mode/blob/master/dap-gdb-ll...

Not having tried it, I can't speak to how well it works, and I don't know if there are adapters for other editors.

Re:Building an Intelligent Emacs by isaiahg on Saturday February 12, 2022 @11:19AM (#30313881)
Ah thank you for this, I ran across pwndbg some months back and I've been trying to find it again since.