Top all-time · #10693
Danny Adam
Personal blog · dannyadam.com/blog · on HN as dstein64aiprogramming
Danny Adam writes Daniel's Assorted Musings, a personal blog at dannyadam.com about ai and programming. Since 2013, 7 different Hacker News readers have linked it 11 times, most often “Debugging in Vim”. The last post was in 2022, but the archive is still widely read.
Too few sampled comments (5) to say how often HN recommends it.?
Why HN links it
HN readers link this post to explain Vim's built-in termdebug debugger, which runs gdb in a Vim window and lets you set breakpoints and step through code from the editor.
Summarised by Claude from a sample of 5 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.
Most-linked posts?
- Debugging in Vim7 people · 7 mentions · first linked 2019-05-13
What Hacker News says?
This article goes into a little more detail which may be useful: https://www.dannyadam.com/blog/2019/05/debugging-in-vim/
Comment linking /blog/2019/05/debugging-in-vim/
on “Debugging with GDB”Submitted Debugging in Vim as a story · 152 points
HN discussionVim >= 8.1 has a built-in debugger interface called termdebug: https://www.dannyadam.com/blog/2019/05/debugging-in-vim/ I haven't used it, but it might meet your needs.
Comment linking /blog/2019/05/debugging-in-vim/
on “C++ Ecosystem: Compilers, IDEs, Tools, Testing”Submitted Debugging in Vim as a story · 2 points
HN discussiontermdebug is the builtin thing with vim: https://www.dannyadam.com/blog/2019/05/debugging-in-vim/ There's a ton of plugins for visual debugging.
Comment linking /blog/2019/05/debugging-in-vim/
on “NvChad: An attempt to make Neovim TUI as functional as an IDE”Submitted Style Transfer Medley as a story · 2 points
HN discussionI've never used termdebug. Here is some info: https://www.dannyadam.com/blog/2019/05/debugging-in-vim/ If that is accurate (it looks like it is), why is termdebug faster than keeping open a second window and using gdb there?
Comment linking /blog/2019/05/debugging-in-vim/
on “Carmack on not being a power editor user”Submitted Bar Charts for Hacker News Polls as a story · 2 points
HN discussionIt's worth mentioning that vim has added debugger integration support as a plugin, but that plugin is available with vim by default, you just need to enable it. It's not perfect but it's usable - you can set breakpoints visually and save/load them, you can step debug inside your code window (gdb is actually running in another vim window and can be controlled directly) and you can see the value of expressions in your…
Comment linking /blog/2019/05/debugging-in-vim/
on “Looking for More Debugger”Submitted Compressing VGG for Style Transfer as a story · 1 points
HN discussionHere's the source code: https://github.com/dstein64/highlight And a corresponding blog post: http://www.dannyadam.com/blog/2015/04/article-highlighter/
Comment linking /blog/2015/04/article-highlighter/
on “Show HN: Highlight (for automatically highlighting website content)”