deivid-rodriguez / byebug

Debugging in Ruby 2
BSD 2-Clause "Simplified" License
3.34k stars 329 forks source link

Support rubies other than MRI #84

Open deivid-rodriguez opened 10 years ago

deivid-rodriguez commented 10 years ago
bararchy commented 9 years ago

I'll join this request to support Rubinius.

deivid-rodriguez commented 9 years ago

@bararchy That's very unlikely because Rubinius does not implement the TracePoint API (what Byebug uses under the hood) and I think they provide their own debugger...

eregon commented 4 years ago

FWIW here is the issue to support byebug on TruffleRuby: https://github.com/oracle/truffleruby/issues/1450 Currently TruffleRuby doesn't implement enough of TracePoint yet, and the C API TracePoint-related functions are not yet implemented but it should all be doable.

headius commented 1 month ago

I am trying to revive debugger support for JRuby and have filed issues with debug.gem and ruby-debug to that end. I'm unsure whether it's worth the effort to add byebug support at this point, or if we should just assume debug.gem will become the standard everyone uses from now on.

https://github.com/ruby/debug/issues/1120

https://github.com/ruby-debug/ruby-debug/issues/32

JRuby also supports debugging using standard JVM tooling, but it's rather foreign to a Ruby user because our classes and objects are structured so differently from Java's.