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

## Description `Ruby/debug` [monkey patches in an implementation of `UnboundMethod#bind_call`](https://github.com/ruby/debug/blob/4ec9d7ab46df09aa87d64e600df8805a3ee0314c/lib/debug/session.rb#L2627-L2634) for compatibility with Rubies older than 2.7. Unfortunately, there is a bug in the implementation, in that it doesn't pass...

This PR depends on the changes in #1004. Only [this last commit](https://github.com/ruby/debug/pull/1005/commits/89427979a16497d27e2f4021ae84f094768627e1) of this PR is unique to this change. ## Description I propose we add a hook method that...

Here is a performance comparison.   | Execution Time(s) | Ratio to existing implementation -- | -- | -- Existing implementation | 73.743 | 1.0 Current Proposal | 46.616 | 1.58...

**Your environment** * `ruby -v`: ruby 3.1.1p18 (2022-02-18 revision 53f5fc4236) [arm64-darwin21] * `rdbg -v`: rdbg 1.7.1 **Describe the bug** Debugger is freezing after typing a few keystrokes at random; almost...

**Your environment** * `ruby -v`: `ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin22]` * `rdbg -v`: `rdbg 1.8.0 {:mode=>:start, :no_color=>nil}` **Describe the bug** Developing the CDP/DAP servers can be quite tedious, because...

## Why? We're looking to shed light on parts of the codebase that could use more tests. ## Assumptions - The coverage report will be viewed locally in HTML format....

**Your environment** ``` λ ruby -v ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-darwin22] λ rdbg -v rdbg 1.7.1 ``` **Describe the bug** I was trying to execute some command with `-c`...

enhancement

Get the following error when I try to start a new debugging session in VSCode Ruby version is 2.7.6 `Ignoring debug-1.7.1 because its extensions are not built. Try: gem pristine...

**Your environment** * `ruby -v`: 3.2.1 * `rdbg -v`: 1.7.1 **Describe the bug** Hit problem with remote debugger with web browser Error: ```shell web-1 | ["DEBUGGER Exception: /usr/local/lib/ruby/gems/3.2.0/gems/debug-1.7.1/lib/debug/thread_client.rb:1233", web-1 |...

**Your environment** * `ruby -v`: * ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [arm64-darwin21] * `rdbg -v`: * rdbg 1.7.1 **To Reproduce** 1. Clone https://github.com/ono-max/testapp 2. `bundle install` 3. `rails db:create` 4....

bug