Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support Ruby 3.3 #1045

Merged
merged 1 commit into from
Dec 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/debug/session.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2190,6 +2190,7 @@ def self.require_location
case loc.absolute_path
when dir_prefix
when %r{rubygems/core_ext/kernel_require\.rb}
when %r{bundled_gems\.rb}
else
return loc if loc.absolute_path
end
Expand Down
2 changes: 1 addition & 1 deletion test/console/rdbg_option_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def program
def test_debugger_stops_immediately
run_rdbg(program, options: "--stop-at-load") do
# stops at the earliest possible location
assert_line_text(/\[C\] Kernel#require/)
assert_line_text(/\[C\] Kernel[#\.]require/)
type "c"
type "a + 'bar'"
assert_line_text(/foobar/)
Expand Down