debug icon indicating copy to clipboard operation
debug copied to clipboard

Debugging functionality for Ruby

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

This issue describes a project to support JRuby in the `debug` library. ## Background JRuby has supported the same debugger as CRuby in the past via the `ruby-debug` gem (and...

**Your environment** * `ruby -v`: ruby 3.3.9 (2025-07-24 revision f5c772fc7c) [x86_64-linux] * `rdbg -v`: rdbg 1.11.0 **Describe the bug** When running a Rails server (puma) with `RUBY_DEBUG_OPEN=true`, it seems to...

for BasicObject fix https://github.com/ruby/debug/issues/1152

**Your environment** * ruby 3.4.1 (2024-12-25 revision 48d4efcb85) +PRISM [x86_64-linux] * rdbg 1.11.0 **Describe the bug** This issue is related to https://github.com/ruby/debug/issues/1113. Since the at_exit hook waits for all child...

**Your environment** * `ruby -v`: 3.3.7 * `rdbg -v`: 1.11.0 * IRB integration: enabled **Describe the bug** When using debug with IRB integration (RUBY_DEBUG_IRB_CONSOLE=true), commands from IRB entered in the...

This resolves #1069. This PR makes a change to the thread client to set the `_` local variable to the result of the last evaluation similar to the behavior in...

**Your environment** * `ruby -v`: `ruby 3.4.7 (2025-10-08 revision 7a5688e2a2) +PRISM [arm64-darwin25]` * `rdbg -v`: `rdbg 1.11.0` **Describe the bug** When debugging a Ruby program with `rdbg` via DAP, the...

## Description Add alias `@` for `whereami` command. This PR introduces the alias `@` for the `whereami` command. The reason that I wanted to add this alias because [pry/pry](https://github.com/pry/pry/blob/master/lib/pry/commands/whereami.rb#L202) has...

**Your environment** * `ruby -v`: ruby 3.3.7 * `rdbg -v`: 1.11.0 **Describe the bug** The debug gem's method in [debug/source_repository.rb:38](https://github.com/ruby/debug/blob/v1.11.0/lib/debug/source_repository.rb#L38) calls File.exist?, which interferes with RSpec mocks that stub this...

**Your environment** * `ruby -v`: `ruby 3.4.1 (2024-12-25 revision 48d4efcb85) +PRISM [x86_64-darwin24]` * `rdbg -v`: `rdbg 1.11.0` **Describe the bug** Recording can't handle `BasicObject`. It crashes whenever execution enters any...