delve
Pry
Our great sponsors
delve | Pry | |
---|---|---|
52 | 35 | |
21,908 | 6,705 | |
1.3% | 0.4% | |
9.2 | 6.7 | |
5 days ago | 6 days ago | |
Go | Ruby | |
MIT License | MIT License |
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.
-
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).
-
Golang debugging tips
git clone https://github.com/go-delve/delve cd delve go install github.com/go-delve/delve/cmd/dlv
-
How to debug like a PRO using Neovim 🔥
| Language | Debugger | | Golang | delve |
-
Debugging Go Inside Docker Using VSCode
The required setup to debug a Go app running inside a Docker container is non-trivial. In this post I will walk through the configuration to achieve this using VSCode and the Delve debugger.
-
DEBUG A KUBERNETES OPERATOR WRITTEN IN GO
It’s awesome to use the powerful DELVE debugger for GO inside Visual Studio Code when you build a GO Operator. 🙂
-
Anyone figured out DAP for golang?
dap.adapters.go = function(callback, _) local stdout = vim.loop.new_pipe(false) local handle local pid_or_err local port = 38697 local opts = { stdio = { nil, stdout }, args = { "dap", "-l", "127.0.0.1:" .. port }, detached = true, } handle, pid_or_err = vim.loop.spawn("dlv", opts, function(code) stdout:close() handle:close() if code ~= 0 then print("dlv exited with code", code) end end) assert(handle, "Error running dlv: " .. tostring(pid_or_err)) stdout:read_start(function(err, chunk) assert(not err, err) if chunk then vim.schedule(function() require("dap.repl").append(chunk) end) end end) -- Wait for delve to start vim.defer_fn(function() callback { type = "server", host = "127.0.0.1", port = port } end, 100) end -- https://github.com/go-delve/delve/blob/master/Documentation/usage/dlv_dap.md dap.configurations.go = { { type = "go", name = "Debug", request = "launch", program = "${file}", }, { type = "go", name = "Debug test", -- configuration for debugging test files request = "launch", mode = "test", program = "${file}", }, -- works with go.mod packages and sub packages { type = "go", name = "Debug test (go.mod)", request = "launch", mode = "test", program = "./${relativeFileDirname}", }, } ```
-
What's your Golang IDE?
I’ve found Delve (debugging tool) quite useful for Emacs. It uses the plugin from VS Code, so you might be halfway there already? Figure out what you need to configure in Emacs for debugging here.
Pry
-
Ruby 3.3
that's surprising considering `pry`[1] is such an amazing debugger IMO.
-
Enhancing development with REPLs - A practical guide
All of my recent tutorials and projects were primarily managed using the default Ruby REPL, irb, and I must say it's been nothing short of amazing. However, what ultimately prompted me to switch to Pry was its offering of better defaults. But what exactly does that mean? Let me demonstrate:
-
Debugging Help
For older versions: Pry Gem
-
Anyone else working through Michael Hartl's Learn Enough RoR Series that might be able to help me with a failing unit test?
To do that, I would install `pry` into your rails project and then use it look around right before your test fails.https://github.com/pry/pry
- I made a tool to help cleanly copy & paste code from irb/pry sessions
-
shell-maker: Make your own shell in 15 lines of elisp (batteries included)
This means I can be editing a shell script and easily inject arbitrary regions into a shell buffer for immediate testing (point never leaves the window where I am editing, and I can view the shell output in an adjacent window). This is similar to what Robe does with Pry within an inferior Ruby process using comint.
-
Building GitHub with Ruby on Rails
https://pry.github.io/ - also a lot of features from Pry have made it into the default IRB these days, but I still use pry. I don't know the equivalent commands in IRB.
-
Is parallel threading never going to be a thing?
For debugging, while not multi-threaded, to my knowledge, is the pry gem for debugging. There are a few different flavors, for instance, my favorite is pry-byebug.
-
Top 5 Ruby on Rails Gems
Github Link : https://github.com/pry/pry
-
It’s a bit buggy, but it’s been so nice to use!
Fleet does not currently support ruby.
What are some alternatives?
Byebug - Debugging in Ruby 2
air - ☁️ Live reload for Go apps
Hirb - A mini view framework for console/irb that's easy to use, even while under its influence. Console goodies include a no-wrap table, auto-pager, tree and menu.
irbtools - Improvements for Ruby's IRB console 💎︎
go-debug
vim-go - Go development plugin for Vim
gorequest - GoRequest -- Simplified HTTP client ( inspired by nodejs SuperAgent )
go-sitemap-generator - go-sitemap-generator is the easiest way to generate Sitemaps in Go
gohper
godotenv - A Go port of Ruby's dotenv library (Loads environment variables from .env files)
fzf - :cherry_blossom: A command-line fuzzy finder
mongo-go-pagination - Golang Mongodb Pagination for official mongodb/mongo-go-driver package which supports both normal queries and Aggregation pipelines with all information like Total records, Page, Per Page, Previous, Next, Total Page and query results.