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** When I used pry, I often used the `@` command to show the context around the debugger. Let's say you break somewhere and it prints the debugger call...

enhancement

**Problem Description** It can be extremely tedious (and even hard to know how) to step into the intended method call on a line that has many method calls. Consider this...

enhancement

gdb has `rbreak regexp` (https://sourceware.org/gdb/onlinedocs/gdb/Set-Breaks.html) and maybe debug.gem can provide similar feature. related to: https://github.com/ruby/debug/issues/655 Questions: * Notation: * `break /foo/` all methods which names contains `foo`. * `C1#foo`, `C2#foobar`,...

enhancement

**Your environment** * `ruby -v`: `ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [arm64-darwin20]` * `rdbg -v`: `rdbg 1.3.1` (f5ff7f7) * OS: macOS 11.6 20G165 **Describe the bug** When running Capybara and RSpec...

**Your environment** * `ruby -v`: ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [x86_64-linux] * `rdbg -v`: 1.5.0 **Describe the bug** I freshly installed debug, both as part of my Rails Gemfile and...

**Your environment** * `ruby -v`: ruby 3.0.4p208 (2022-04-12 revision 3fa771dded) [x86_64-linux] * `rdbg -v`: rdbg 1.5.0 **Describe the bug** When pasting something into debug console, extra characters are inserted For...

Now it is not clear and it should be organized well. (only documentation issue or adding new feature)

**Your proposal** Allow nesting commands like this: ```rb debugger(do: "break Foo#initialize do: (watch @ivar do: pp self)") ``` Or even: ```rb debugger(do: { "break Foo#initialize" => { do: { "watch...

enhancement

**Your environment** * `ruby -v`: ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-darwin20] * `rdbg -v`: rdbg 1.3.4 **Describe the bug** When I do `debugger` or `binding.b` in my tests it blocks...

enhancement

Just idea. Now we need to set breakpoints with `break` commands on tests like: ```ruby def program

enhancement