debug
debug copied to clipboard
Debugging functionality for Ruby
## Description Hey there! I'm developing my own GUI debugger that uses the Debug Adapter Protocol. This gem supports it, but it's coupled to VSCode: you can only start the...
This PR depends on the changes in #1001. Only [this last commit](https://github.com/ruby/debug/pull/1003/commits/7e3c8f13d2ce57315b44abb6e787d06d2736b0f8) of this PR is unique to this change. ## Description * Both Chrome and VSCode automatically insert a...
**Your proposal** I propose that debug respect the XDG Base Directory Specification such that files are written to locations controlled by user environment variables. There are at least three relevant...
* `ruby -v`: ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [arm64-darwin21] * `gem list debug`: debug (1.9.1) * `gem list rails`: rails (7.1.2) * `gem list irb`: irb (default: 1.11.0) **Describe the...
**Your proposal** If a user sets a breakpoint in a path that is skipped because of `RUBY_DEBUG_SKIP_PATH`, it would be helpful to log a warning whenever the breakpoint would have...
### Your environment Ruby 3.3.0 Rails 7.1.2 debug 1.9.1 Hi, I am not sure if this is a bug or I am missing anything. I have try to search around...
**Your environment** * `ruby -v`: 3.2.2 * `rdbg -v`: 1.8.0 **Describe the bug** Doesn't seem to work well with multithreaded debugger statements. The program does not print out expected local...
## Proposal - `require "debug"` won't activate the debugger. Debugger will only be activated when the first breakpoint is triggered. - `require "debug"` will be the same as `require "debug/prelude"`...
Now `rdbg` without script waits script from STDIN: ``` [master]$ exe/rdbg p 1 # Ctrl-D here to terminate input # No sourcefile available for - =>#0 at -:1 (rdbg) n...
**Your environment** * `ruby -v`: ``` ~/wk/mos % ruby -v ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin22] ``` * `rdbg -v`: ``` ~/wk/mos % rdbg -v rdbg 1.8.0 {:mode=>:start, :no_color=>nil, :no_reline=>true}...