A summary of data about the Ruby ecosystem.

https://github.com/pry/pry-stack_explorer

Walk the stack in a Pry session
https://github.com/pry/pry-stack_explorer

Keywords from Contributors

debugger introspection irb pry reflection rubygems mvc activerecord activejob error-monitoring

Last synced: about 20 hours ago
JSON representation

Repository metadata

Walk the stack in a Pry session

README.md

pry-stack_explorer

Walk the stack in a Pry session


Pry::StackExplorer is a plugin for Pry
that allows navigating the call stack.

From the point a Pry session is started, the user can move up the stack
through parent frames, examine state, and even evaluate code.

Unlike ruby-debug, pry-stack_explorer incurs no runtime cost and
enables navigation right up the call-stack to the birth of the
program.

The up, down, frame and stack commands are provided. See
Pry's in-session help for more information on any of these commands.

Usage

Provides commands available in Pry sessions.

Commands:

  • up/down - Move up or down the call stack
  • frame [n] - Go to frame n
  • stack - Show call stack

Install

In Gemfile:

gem 'pry-stack_explorer', '~> 0.6.0'
gem install pry-stack_explorer

Branches and compatible Ruby versions

  • v0.5, v0.6: Ruby 2.6+, Pry 0.13+
  • v0.4.11+: Ruby 2.5, Pry 0.12+ (branch 0-4 – end-of-life in March 2021)
  • v0.4.9.3: Older versions (unsupported)

Example:

Here we run the following ruby script:

require 'pry-stack_explorer'

def alpha
  x = "hello"
  beta
  puts x
end

def beta
  binding.pry
end

alpha

We wander around the stack a little bit, and modify the state of a frame above the one we binding.pry'd at.

asciicast

Output from above is Goodbye as we changed the x local inside the alpha (caller) stack frame.

License

Released under the MIT License by John Mair (banisterfiend) and contributors

Contributions to this gem are released under the same license.


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: about 20 hours ago

Total Commits: 178
Total Committers: 16
Avg Commits per committer: 11.125
Development Distribution Score (DDS): 0.343

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
John Mair j****r@g****m 117
Jonathan Allard j****n@a****o 41
Seiei Miyagi h****n@g****m 3
Shawn Anderson s****2@g****m 2
Kyrylo Silin s****n@k****g 2
Koji Onishi f****0@g****m 2
Ben Moskovitz b****n@m****z 2
epitron c****s@i****m 1
Ryan Rosenblum r****m@g****m 1
Naoki Hosoya h****h@g****m 1
Keenan Brock k****n@t****t 1
Karl Wilbur k****l@k****m 1
Greg Stearns g****g@g****m 1
Conrad Irwin c****n@g****m 1
Brian Christian b****n@g****m 1
Akira Matsuda r****e@d****p 1

Committer domains:


Issue and Pull Request metadata

Last synced: 19 days ago

Total issues: 32
Total pull requests: 29
Average time to close issues: over 3 years
Average time to close pull requests: 10 months
Total issue authors: 29
Total pull request authors: 21
Average comments per issue: 2.88
Average comments per pull request: 1.34
Merged pull request: 16
Bot issues: 0
Bot pull requests: 0

Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 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/pry/pry-stack_explorer

Top Issue Authors

  • banister (4)
  • onyxraven (1)
  • heartpunk (1)
  • ConradIrwin (1)
  • mpapis (1)
  • pdxwolfy (1)
  • dchersey (1)
  • dmlary (1)
  • joallard (1)
  • rking (1)
  • bzbdev001 (1)
  • trueheart78 (1)
  • x-yuri (1)
  • dominikh (1)
  • brchristian (1)

Top Pull Request Authors

  • joallard (7)
  • kyrylo (2)
  • moskyb (2)
  • rking (1)
  • edmund (1)
  • ttanimichi (1)
  • clintoncwolfe (1)
  • karlwilbur (1)
  • rrosenblum (1)
  • amatsuda (1)
  • nhosoya (1)
  • Steap (1)
  • hosamaly (1)
  • fursich (1)
  • hanachin (1)

Top Issue Labels

  • feature (3)
  • bug (2)

Top Pull Request Labels


Package metadata

gem.coop: pry-stack_explorer

Walk the stack in a Pry session

  • Homepage: https://github.com/pry/pry-stack_explorer
  • Documentation: http://www.rubydoc.info/gems/pry-stack_explorer/
  • Licenses: MIT
  • Latest release: 0.6.1 (published about 5 years ago)
  • Last Synced: 2026-03-01T22:03:11.987Z (2 days ago)
  • Versions: 58
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 46,294,885 Total
  • Docker Downloads: 146,340,358
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 0.259%
    • Docker downloads count: 0.491%
    • Downloads: 0.545%
  • Maintainers (3)
rubygems.org: pry-stack_explorer

Walk the stack in a Pry session

  • Homepage: https://github.com/pry/pry-stack_explorer
  • Documentation: http://www.rubydoc.info/gems/pry-stack_explorer/
  • Licenses: MIT
  • Latest release: 0.6.1 (published about 5 years ago)
  • Last Synced: 2026-03-02T14:01:54.774Z (1 day ago)
  • Versions: 58
  • Dependent Packages: 390
  • Dependent Repositories: 7,837
  • Downloads: 46,308,122 Total
  • Docker Downloads: 146,340,358
  • Rankings:
    • Dependent packages count: 0.115%
    • Dependent repos count: 0.365%
    • Downloads: 0.509%
    • Docker downloads count: 0.623%
    • Average: 1.555%
    • Stargazers count: 2.652%
    • Forks count: 5.065%
  • Maintainers (3)
guix: ruby-pry-stack-explorer

Call-stack navigation plugin for the Pry REPL

  • Homepage: https://github.com/pry/pry-stack_explorer
  • Documentation: https://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/ruby-xyz.scm#n9422
  • Licenses: expat
  • Latest release: 0.5.1 (published about 23 hours ago)
  • Last Synced: 2026-03-02T18:54:05.002Z (about 23 hours ago)
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Rankings:
    • Dependent repos count: 0.0%
    • Dependent packages count: 0.0%
    • Average: 100%

Dependencies

pry-stack_explorer.gemspec rubygems
  • rake ~> 0.9 development
  • rspec ~> 3.9 development
  • binding_of_caller ~> 1.0
  • pry ~> 0.13

Score: 28.692704593366233