Skip to content

Support JRuby and update from CRuby 3.0#301

Merged
hsbt merged 3 commits intoruby:v0_2from
headius:jruby
Nov 11, 2021
Merged

Support JRuby and update from CRuby 3.0#301
hsbt merged 3 commits intoruby:v0_2from
headius:jruby

Conversation

@headius
Copy link

@headius headius commented Sep 23, 2021

This contains changes to support JRuby:

  • Mask out continuation usage
  • Mask out iseq usage

It also contains changes to align with CRuby 3.0.2, which claims to ship 0.1.0 (#298) but does not actually do so.

Once this is merged it should be released as 0.2.1 and Ruby 3.x should update to use that version.

headius and others added 3 commits September 23, 2021 14:42
* Continuations for the restart command require the 'continuation'
  library and full 'callcc' support.
* ISeq support is only available on CRuby
When debugging some local code, specifying a breakpoint to a local
filename does not work, i.e.

    break lib/foo.rb:10

Expanding the filename makes it work. FWIW byebug has the same behavior.
* Fix debug documents to match Thread#to_s change (Feature #16412 ticket)

* TracePoint#inspect returns "... file:line" (Feature #16513)

* Guard older version of Ruby in Tracepoint inspection tests

* Focus on current thread only when running TracePoint inspection test
@hsbt
Copy link
Member

hsbt commented Nov 11, 2021

@headius Do you hope to release v0.2.1 with this patch?

@hsbt hsbt merged commit 6e5b869 into ruby:v0_2 Nov 11, 2021
@hsbt
Copy link
Member

hsbt commented Nov 11, 2021

I've requested v0.2.1 to Ruby 3.0.3 with this changes at ruby/ruby@1a44130 Thanks!

@headius headius deleted the jruby branch November 22, 2021 17:20
@headius
Copy link
Author

headius commented Nov 22, 2021

Thank you! I will update our default version of debug for JRuby 9.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants