debug icon indicating copy to clipboard operation
debug copied to clipboard

Debugging functionality for Ruby

Results 131 debug issues
Sort by recently updated
recently updated
newest added

**Your proposal** What is your idea? When inspecting a large object, it could endlessly scroll for hundreds of lines on the screen. pry-rails incorporates `less` into the REPL so that...

Debug seems to be using a deprecated class from IRB: ``` warning: constant IRB::InputCompletor is deprecated ``` `IRB::InputCompletor` was removed in a refactor: https://github.com/ruby/irb/pull/707, and then restored and deprecated in...

**Your environment** * `ruby -v`: `ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin23]` * `rdbg -v`: `rdbg 1.9.1` **Describe the bug** I'm not an expert here (so I'm probably missing something) but...

**Your environment** * `ruby -v`: 3.3.0 * `rdbg -v`: 1.9.1 **Describe the bug** Hi, I'm not sure if this is a bug or a request for an additional feature (or...

This PR is for addressing the following failed tests. https://github.com/ruby/debug/actions/runs/7390127439/job/20104392199 https://github.com/ruby/debug/actions/runs/7390127439/job/20104392747 https://github.com/ruby/debug/actions/runs/7295789761/job/19940458601 https://github.com/ruby/debug/actions/runs/7295789761/job/19940458810

**Your proposal** Pry and IRB have a feature in which `_` is always set the the value of the last expression. While I realize it may not make sense to...

**Your proposal** Here's a simplistic piece of code: ```ruby # test.rb def foo(a, b) a.x = nil if b == 5 end a = Struct.new(:x).new(10) 10.times do |i| foo(a, i)...

The logic that decides how variables are presented is repeated between the CDP and DAP implementations. This is error prone and leads to inconsistencies, where improvements are made to one...

Fixes Ruby/vscode-rdbg#37 This PR depends on the changes in https://github.com/ruby/debug/pull/1001. Only [this last commit](https://github.com/ruby/debug/pull/1004/commits/697cce37cbc613c78a9c021186adacf90e2fa7bf) of this PR is unique to this change. ## Description The class of many values is...

**Your environment** * `ruby -v`: 3.1.2 * `rdbg -v`: fails **Describe the bug** when I run `rdbg -v` I get the following failure: ``` rdbg /Users/curtis/.rvm/gems/ruby-3.1.2/gems/bundler-2.3.7/lib/bundler/rubygems_ext.rb:18:in `source': uninitialized constant Gem::Source...