delve
nvim-dap
Our great sponsors
delve | nvim-dap | |
---|---|---|
52 | 137 | |
22,012 | 4,739 | |
1.0% | - | |
9.2 | 7.9 | |
1 day ago | 5 days ago | |
Go | Lua | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
delve
-
The worst thing about Jenkins is that it works
At a recent job, we had slightly different containers for local dev; our backend containers (for a Go app) had Air [1] installed for live reloading, plus Delve [2] running inside the container for VS Code's debugger to connect to. We also had a frontend container for local dev, which didn't get deployed as a container, just as static files.
-
Delve v1.21.2 is out now
https://github.com/go-delve/delve/releases/tag/v1.21.2 Thanks Derek and the rest of the team for helping us to debug in a normal way!
- I do not use a debugger
-
Writing and debugging integration tests of multiple processes with Golang
My employer has a commercial solution for this but Delve does supports `rr` traces natively for this purpose, which gives a complete open-source solution (https://github.com/go-delve/delve/blob/master/Documentation/usage/dlv_replay.md).
- No support for debugging Go on OpenBSD
- Delve v1.20.2 is out now
-
Tools besides Go for a newbie
delve and related IDE integrations
-
What a good debugger can do
For time travel debugging in Go:
The Delve debugger for Go supports debugging rr traces: https://github.com/go-delve/delve/blob/master/Documentation/...
Undo (who I work for) maintain a fork that debugs our LiveRecorder recordings: https://docs.undo.io/GoDelve.html
Either rr (https://rr-project.org/) or our UDB debugger (https://undo.io/solutions/products/udb/) can do some time travel debugging of Go programs via GDB's built-in support for Go. I believe its weakness is in support for goroutines, since they don't map well onto its idea of how programs run.
-
Is there a neovim config with preconfigured debugger?
So in my case I use https://github.com/leoluz/nvim-dap-go (which itself calls out to the CLI tool https://github.com/go-delve/delve).
-
What's wrong with my GoLand debugger?
Clone https://github.com/go-delve/delve.git
nvim-dap
-
Can you get better dapui varibles?
https://github.com/mfussenegger/nvim-dap/issues/1062 https://github.com/mfussenegger/nvim-dap/issues/737
-
How to start using Neovim for c++ development and debugging
Also, you can set up debugger integration with https://github.com/mfussenegger/nvim-dap .
- Build and run in one task using asynctasks.vim
-
How can I debug Python code in neovim!
You could use nvim-dap with nvim-dap-python.
-
How to debug python code in neovim
I'd suggest starting with a Neovim distro that makes things work for you and as you get familiar you can transition to a more custom configuration as you see fit. If you want to do it by yourself then the most popular plugin for debugging in Neovim is nvim-dap and there is also an extension for Python to give you a more ready to go config instead of doing it yourself. You should read the docs of those 2 to see how you should customize accordingly your configuration.
-
How to configure vim like an IDE
(neovim only) nvim-dap
-
How to display variable values inline?
https://github.com/mfussenegger/nvim-dap + https://github.com/theHamsta/nvim-dap-virtual-text should be able to do it, I think?
- New Nightmare, the Hammerhead Worm
-
Q: Setting up typescript debugger for neovim?
If you want to debug types in TypeScript, you could use marilari88/twoslash-queries.nvim. If you would like to debug TypeScript/JavaScript code, then you need mfussenegger/nvim-dap, you could read this article: Debugging using DAP to understand how to set up it.
-
nvim-dap-repl-highlights - Add Treesitter highlighting to your dap REPL
It's a feature I've added to nvim-dap that is pending review - https://github.com/mfussenegger/nvim-dap/pull/773
What are some alternatives?
air - ☁️ Live reload for Go apps
vimspector - vimspector - A multi-language debugging system for Vim
go-debug
LunarVim - 🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.
vim-go - Go development plugin for Vim
nvim-gdb - Neovim thin wrapper for GDB, LLDB, PDB/PDB++ and BashDB
gorequest - GoRequest -- Simplified HTTP client ( inspired by nodejs SuperAgent )
nvim-dap-python - An extension for nvim-dap, providing default configurations for python and methods to debug individual test methods or classes.
go-sitemap-generator - go-sitemap-generator is the easiest way to generate Sitemaps in Go
CodeLLDB - A native debugger extension for VSCode based on LLDB
gohper
vscode-cpptools - Official repository for the Microsoft C/C++ extension for VS Code.