5 ms·
Have you had a good debugging experience with (neo)vim? I'm the author
by levodelellis 2y ago
Have you had a good debugging experience with (neo)vim? I'm the author
- YorickPeterse 2y agoThere are DAP extensions for both Vim (e.g. https://github.com/puremourning/vimspector https://github.com/puremourning/vimspector) and NeoVim (https://github.com/mfussenegger/nvim-dap https://github.com/mfussenegger/nvim-dap). I can't speak as to the experience in detail (I think I briefly played with nvim-dap a year or two ago), but I suspect that for most it will be good enough.
- zilti 2y agoAnd same for Emacs, great LSP and DAP integration.
- levodelellis 2y agoI heard someone say gdb works great with emacs but I never had a good experience with C++ in neovim. I asked friends and they all say they use a second editor to debug which is part of why I bothered to do this
- zilti 2y agoOh, yes, I used to use gdb just a small handful of times a few years ago, but Emacs' gdb mode is very powerful. But I assume there is a gdb DAP as well by now?
- miniupuchaty 2y agoIt's not ideal for me yet. I've had some problems with DAP. The DAP servers I've checked were a bit unstable and slow. For now I'm using gdb with nvim-gdb https://github.com/sakhnik/nvim-gdb https://github.com/sakhnik/nvim-gdb Very reliable and as fast as gdb is. But with all the problems just using gdb has.