Issue #17149 has been reported by nguyenquangminh0711 (Minh Nguyen).

----------------------------------------
Bug #17149: Backport 3e02cd518fbe4d91c2aca7fbc3c5aafa387d3cb7
https://bugs.ruby-lang.org/issues/17149

* Author: nguyenquangminh0711 (Minh Nguyen)
* Status: Open
* Priority: Normal
* Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN
----------------------------------------
Since Ruby 2.7.x, builtin methods don't trigger return events in Tracepoint. This issue breaks other debuggers which depend heavily on Tracepoint to perform step calculation (aka Byebug - https://github.com/deivid-rodriguez/byebug/issues/719 and https://github.com/deivid-rodriguez/byebug/issues/715). Fortunately, this bug is fixed in https://github.com/ruby/ruby/commit/3e02cd518fbe4d91c2aca7fbc3c5aafa387d3cb7. However, it's still in Ruby trunk, and Ruby trunk has just been bumped to version 3.0.0, waiting for next big release. So, I would like to request to backport this bug fix back to Ruby 2.7.



-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>