A summary of data about the Ruby ecosystem.

https://github.com/banister/debug_inspector

A Ruby wrapper for the MRI 2.0 debug_inspector API
https://github.com/banister/debug_inspector

Keywords from Contributors

activerecord debugger repl rack activejob mvc rubygems multithreading ruby-gem bigdecimal

Last synced: about 2 hours ago
JSON representation

Repository metadata

A Ruby wrapper for the MRI 2.0 debug_inspector API

README.md

Build Status
Gem Version

debug_inspector

A Ruby wrapper for the Ruby 2.0+ debug_inspector C API

The debug_inspector C extension and API were designed and built by Koichi Sasada, this project
is just a gemification of his work.

NOTES:

  • Do not use this library outside of debugging situations.
  • This library makes use of the debug inspector API which was new in CRuby 2.0.0.
  • Only works on CRuby 2+ and TruffleRuby. Requiring it on unsupported Rubies will result in a no-op.

Usage

require 'debug_inspector'

# Open debug context
# Passed `dc' is only active in a block
DebugInspector.open { |dc|
  # backtrace locations (returns an array of Thread::Backtrace::Location objects)
  locs = dc.backtrace_locations

  # you can get depth of stack frame with `locs.size'
  locs.size.times do |i|
    # binding of i-th caller frame (returns a Binding object or nil)
    p dc.frame_binding(i)

    # iseq of i-th caller frame (returns a RubyVM::InstructionSequence object or nil)
    p dc.frame_iseq(i)

    # class of i-th caller frame
    p dc.frame_class(i)
  end
}

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake test to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

To install this gem onto your local machine, run bundle exec rake install.
To release a new version, update the version number in version.rb and in debug_inspector.gemspec, and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the .gem file to rubygems.org.

Contact

Problems or questions contact me at github

License

The debug_inspector is released under the MIT License.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 1 day ago

Total Commits: 64
Total Committers: 9
Avg Commits per committer: 7.111
Development Distribution Score (DDS): 0.484

Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0

Name Email Commits
Robin Daugherty r****n@r****t 33
John Mair j****r@g****m 10
Benoit Daloze e****p@g****m 6
Jun Aruga j****a@r****m 5
ko1 k****1@a****t 4
r-obert r****t 3
hisaichi5518 h****8@g****m 1
Kerri Miller k****r@k****m 1
Chris Marshall c****s@c****m 1

Committer domains:


Issue and Pull Request metadata

Last synced: about 14 hours ago

Total issues: 14
Total pull requests: 28
Average time to close issues: about 2 years
Average time to close pull requests: about 1 month
Total issue authors: 11
Total pull request authors: 10
Average comments per issue: 2.5
Average comments per pull request: 1.82
Merged pull request: 24
Bot issues: 0
Bot pull requests: 0

Past year issues: 1
Past year pull requests: 1
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 1
Past year pull request authors: 1
Past year average comments per issue: 2.0
Past year average comments per pull request: 1.0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/banister/debug_inspector

Top Issue Authors

  • junaruga (3)
  • eregon (2)
  • Integralist (1)
  • zw963 (1)
  • walski (1)
  • ghost (1)
  • loqs (1)
  • ygpark2 (1)
  • strzibny (1)
  • shreeve (1)
  • 0x1eef (1)

Top Pull Request Authors

  • RobinDaugherty (8)
  • junaruga (5)
  • 0x1eef (4)
  • eregon (3)
  • ko1 (3)
  • codegoalie (1)
  • claui (1)
  • simi (1)
  • kerrizor (1)
  • hisaichi5518 (1)

Top Issue Labels

  • enhancement (1)

Top Pull Request Labels


Package metadata

gem.coop: debug_inspector

Adds methods to DebugInspector to allow for inspection of backtrace frames. The debug_inspector C extension and API were designed and built by Koichi Sasada, this project is just a gemification of his work. This library makes use of the debug inspector API which was added to MRI 2.0.0. Only works on MRI 2 and 3. Requiring it on unsupported Rubies will result in a no-op. Recommended for use only in debugging situations. Do not use this in production apps.

  • Homepage: https://github.com/banister/debug_inspector
  • Documentation: http://www.rubydoc.info/gems/debug_inspector/
  • Licenses: MIT
  • Latest release: 1.2.0 (published about 2 years ago)
  • Last Synced: 2026-03-03T08:22:45.814Z (about 14 hours ago)
  • Versions: 7
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 187,756,756 Total
  • Docker Downloads: 642,374,453
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.069%
    • Downloads: 0.135%
    • Docker downloads count: 0.141%
  • Maintainers (3)
ubuntu-22.04: ruby-debug-inspector

  • Homepage: https://github.com/banister/debug_inspector
  • Licenses: mit
  • Latest release: 1.1.0+gh-1build1 (published 18 days ago)
  • Last Synced: 2026-02-13T13:15:08.652Z (18 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.809%
    • Forks count: 1.604%
    • Stargazers count: 1.63%
rubygems.org: debug_inspector

Adds methods to DebugInspector to allow for inspection of backtrace frames. The debug_inspector C extension and API were designed and built by Koichi Sasada, this project is just a gemification of his work. This library makes use of the debug inspector API which was added to MRI 2.0.0. Only works on MRI 2 and 3. Requiring it on unsupported Rubies will result in a no-op. Recommended for use only in debugging situations. Do not use this in production apps.

  • Homepage: https://github.com/banister/debug_inspector
  • Documentation: http://www.rubydoc.info/gems/debug_inspector/
  • Licenses: MIT
  • Latest release: 1.2.0 (published about 2 years ago)
  • Last Synced: 2026-03-01T20:01:57.241Z (2 days ago)
  • Versions: 7
  • Dependent Packages: 14
  • Dependent Repositories: 188,756
  • Downloads: 187,590,415 Total
  • Docker Downloads: 642,374,453
  • Rankings:
    • Dependent repos count: 0.096%
    • Downloads: 0.141%
    • Docker downloads count: 0.199%
    • Dependent packages count: 1.364%
    • Average: 2.577%
    • Forks count: 6.595%
    • Stargazers count: 7.068%
  • Maintainers (3)
proxy.golang.org: github.com/banister/debug_inspector

  • Homepage:
  • Documentation: https://pkg.go.dev/github.com/banister/debug_inspector#section-documentation
  • Licenses: mit
  • Latest release: v1.2.0 (published about 2 years ago)
  • Last Synced: 2026-03-03T08:22:46.934Z (about 14 hours ago)
  • Versions: 6
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Forks count: 5.171%
    • Stargazers count: 5.469%
    • Average: 7.754%
    • Dependent packages count: 9.576%
    • Dependent repos count: 10.802%
ubuntu-23.10: ruby-debug-inspector

  • Homepage: https://github.com/banister/debug_inspector
  • Licenses:
  • Latest release: 1.1.0+gh-1build3 (published 18 days ago)
  • Last Synced: 2026-02-13T18:17:53.924Z (18 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-24.04: ruby-debug-inspector

  • Homepage: https://github.com/banister/debug_inspector
  • Licenses:
  • Latest release: 1.1.0+gh-1build6 (published 25 days ago)
  • Last Synced: 2026-02-06T15:04:15.109Z (25 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
ubuntu-23.04: ruby-debug-inspector

  • Homepage: https://github.com/banister/debug_inspector
  • Licenses:
  • Latest release: 1.1.0+gh-1build3 (published 21 days ago)
  • Last Synced: 2026-02-11T06:37:52.125Z (21 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-20.04: ruby-debug-inspector

  • Homepage: https://github.com/banister/debug_inspector
  • Licenses:
  • Latest release: 0.0.2-1.1build6 (published 19 days ago)
  • Last Synced: 2026-02-13T07:12:20.267Z (19 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
debian-11: ruby-debug-inspector

  • Homepage: https://github.com/banister/debug_inspector
  • Documentation: https://packages.debian.org/bullseye/ruby-debug-inspector
  • Licenses:
  • Latest release: 0.0.2-1.1 (published 21 days ago)
  • Last Synced: 2026-02-13T08:19:21.089Z (19 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
debian-10: ruby-debug-inspector

  • Homepage: https://github.com/banister/debug_inspector
  • Documentation: https://packages.debian.org/buster/ruby-debug-inspector
  • Licenses:
  • Latest release: 0.0.2-1.1 (published 20 days ago)
  • Last Synced: 2026-02-13T04:20:35.689Z (19 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
guix: ruby-debug-inspector

Ruby wrapper for the MRI 2.0 debug_inspector API

  • Homepage: https://github.com/banister/debug_inspector
  • Documentation: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/rails.scm#n221
  • Licenses: expat
  • Latest release: 1.1.0 (published 1 day ago)
  • Last Synced: 2026-03-02T19:03:32.250Z (1 day ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
debian-12: ruby-debug-inspector

  • Homepage: https://github.com/banister/debug_inspector
  • Documentation: https://packages.debian.org/bookworm/ruby-debug-inspector
  • Licenses:
  • Latest release: 1.1.0+gh-1 (published 19 days ago)
  • Last Synced: 2026-02-12T23:28:01.643Z (19 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%
ubuntu-24.10: ruby-debug-inspector

  • Homepage: https://github.com/banister/debug_inspector
  • Licenses:
  • Latest release: 1.1.0+gh-2build1 (published 22 days ago)
  • Last Synced: 2026-02-09T16:23:52.483Z (22 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
debian-13: ruby-debug-inspector

  • Homepage: https://github.com/banister/debug_inspector
  • Documentation: https://packages.debian.org/trixie/ruby-debug-inspector
  • Licenses:
  • Latest release: 1.1.0+gh-2 (published 19 days ago)
  • Last Synced: 2026-02-13T13:14:34.850Z (18 days ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%

Dependencies

Gemfile rubygems
  • minitest >= 0
  • rake >= 0
  • rake-compiler >= 0
.github/workflows/test.yml actions
  • actions/checkout v2 composite
  • ruby/setup-ruby v1 composite
debug_inspector.gemspec rubygems

Score: 27.538354079250407