Make the debug gem work on TruffleRuby

Open
#257 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
ruby
Domain
devtools

Research direction

Start by reviewing the gem's test suite and the linked TruffleRuby issues for pty stdlib and TracePoint support. Determine whether those runtime prerequisites are available, then run the suite on TruffleRuby. Done means the suite works with no or only small changes in this gem.

Written by the indexing model from the issue text.

Description

This is more of a FYI issue.
The TruffleRuby devs are looking at running this gem test suite and try to make it work on TruffleRuby.
Ideally it would require no or very few changes in this gem, as the gem only uses official Ruby APIs + C extensions from what I saw.

The first item is getting the pty stdlib to work on TruffleRuby since that's used by the test suite: https://github.com/oracle/truffleruby/issues/1589
Then TruffleRuby will likely need to support more of TracePoint e.g. https://github.com/oracle/truffleruby/issues/1672.
After that I would think it's mostly small fixes.

Feel free to close issue if you want to keep open issues only for "things to address in this gem".

Dominant language
Ruby
Stars
1.3k
Forks
146
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ruby/debug

All issues in ruby/debug

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.