Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev. Learn more →
Top 6 Ruby Debug Projects
-
Project mention: Ruby Tip – Interactive debugging without the need for gems | news.ycombinator.com | 2023-11-22
Fun fact, Ruby as a single-threaded language is how most people experience it, but Ruby has a rich cooperative multitasking called Fibers that hopefully is getting more exposure, in amongst a bevy of competing implementations and other also-ran concurrency primitives (besides the usual contenders like Threads, Process fork, foreman that just runs several processes alongside one another...)
https://github.com/ruby/debug/issues/486#issuecomment-157531...
If you want to use debugging and multi-threaded or multi-fiber Ruby at once, you can! You just have to get a bit creative. I always refer back to this thread on the Ruby `debug` gem (though the advice applies to any other REPL you can use) about applying a Mutex. You can use the built-in Fiber.blocking to prevent other fibers from running at the same time as yours, or you can use a Mutex to just ensure that you don't hit the debugger multiple times in the same process IO that would mean you've got multiple REPLs all grappling for the StdIO at once.
For a long time Ruby dev who almost never did concurrency unless it was facilitated by the OS, or before being exposed to it directly in other languages like Go, the Ruby "super power" remains intact, it's just a bit more mysterious with the concurrency stuff added. Ruby has amazing diversity in its concurrency tools, which is a nice way of saying "the language authors decided not to pick a king concurrent runtime/winning gem whilst all of the competing implementations were all a bit nascent and un-fully-formed!"
I like the bruno/fiber-scheduler but it looks like it is not the winner. It should be easy to switch to another fibers implementation, I think async is the crown champion now, but I still haven't been motivated to switch - the fiber-scheduler that is named fiber-scheduler has been good enough for me, despite shortcomings!
-
-
Onboard AI
Learn any GitHub repo in 59 seconds. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at www.getonboard.dev.
-
i18n-debug
Ever wondered which translations are being looked up by Rails, a gem, or simply your app? Wonder no more!
-
callstacking-rails
Rails client for Call Stacking - your insurance policy for tracking down those hard-to-find production bugs.
Project mention: For RoR, see in production every method call, parameter and return value | /r/hypeurls | 2023-11-24 -
-
Ruby Debug related posts
- For RoR, see in production every method call, parameter and return value
- For RoR, see every method call, parameter and return value in production
- For RoR, see in production every method call, parameter and return value
- Ruby Tip – Interactive debugging without the need for gems
- Don't Use Mocks
-
A note from our sponsor - Onboard AI
getonboard.dev | 2 Dec 2023
Index
What are some of the best open-source Debug projects in Ruby? This list will help you:
Project | Stars | |
---|---|---|
1 | debug | 1,007 |
2 | Bugsnag | 242 |
3 | i18n-debug | 170 |
4 | callstacking-rails | 35 |
5 | ruby-ray | 17 |
6 | Zabbix Unifi Video | 4 |