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 9 hours ago
JSON representation
Repository metadata
Walk the stack in a Pry session
- Host: GitHub
- URL: https://github.com/pry/pry-stack_explorer
- Owner: pry
- License: other
- Created: 2012-01-25T10:38:25.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2026-04-11T06:33:55.000Z (20 days ago)
- Last Synced: 2026-04-28T00:12:43.194Z (3 days ago)
- Language: Ruby
- Homepage:
- Size: 183 KB
- Stars: 457
- Watchers: 19
- Forks: 27
- Open Issues: 7
- Releases: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
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 stackframe [n]- Go to frame nstack- Show call stack
Install
In Gemfile:
gem 'pry-stack_explorer', '~> 0.6.0'
gem install pry-stack_explorer
- Read the documentation
- See the wiki for in-depth usage information.
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.
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), Jonathan Allard (joallard), and contributors
Contributions to this gem are released under the same license.
Owner metadata
- Name: The Pry REPL
- Login: pry
- Email:
- Kind: organization
- Description: Pry is a powerful runtime developer console and IRB alternative for Ruby.
- Website: http://pryrepl.org
- Location:
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/845682?v=4
- Repositories: 16
- Last ynced at: 2024-03-25T19:47:39.102Z
- Profile URL: https://github.com/pry
GitHub Events
Total
- Pull request event: 2
- Issues event: 2
- Watch event: 1
- Issue comment event: 1
- Push event: 4
Last Year
- Pull request event: 2
- Issues event: 2
- Issue comment event: 1
- Push event: 4
Committers metadata
Last synced: about 24 hours ago
Total Commits: 200
Total Committers: 17
Avg Commits per committer: 11.765
Development Distribution Score (DDS): 0.415
Commits in past year: 22
Committers in past year: 2
Avg Commits per committer in past year: 11.0
Development Distribution Score (DDS) in past year: 0.045
| Name | Commits | |
|---|---|---|
| John Mair | j****r@g****m | 117 |
| Jonathan Allard | j****n@a****o | 62 |
| Seiei Miyagi | h****n@g****m | 3 |
| Ben Moskovitz | b****n@m****z | 2 |
| Koji Onishi | f****0@g****m | 2 |
| Kyrylo Silin | s****n@k****g | 2 |
| Shawn Anderson | s****2@g****m | 2 |
| Akira Matsuda | r****e@d****p | 1 |
| Brian Christian | b****n@g****m | 1 |
| Conrad Irwin | c****n@g****m | 1 |
| Greg Stearns | g****g@g****m | 1 |
| Karl Wilbur | k****l@k****m | 1 |
| Keenan Brock | k****n@t****t | 1 |
| Naoki Hosoya | h****h@g****m | 1 |
| Nigel Williams | n****s@m****m | 1 |
| Ryan Rosenblum | r****m@g****m | 1 |
| epitron | c****s@i****m | 1 |
Committer domains:
- ill-logic.com: 1
- marketplacer.com: 1
- thebrocks.net: 1
- kandrsoftware.com: 1
- gregthetech.com: 1
- dio.jp: 1
- kyrylo.org: 1
- mosk.nz: 1
- allard.io: 1
Issue and Pull Request metadata
Last synced: 15 days ago
Total issues: 34
Total pull requests: 30
Average time to close issues: over 3 years
Average time to close pull requests: 10 months
Total issue authors: 29
Total pull request authors: 22
Average comments per issue: 2.76
Average comments per pull request: 1.3
Merged pull request: 16
Bot issues: 0
Bot pull requests: 0
Past year issues: 3
Past year pull requests: 1
Past year average time to close issues: 3 days
Past year average time to close pull requests: N/A
Past year issue authors: 2
Past year pull request authors: 1
Past year average comments per issue: 1.0
Past year average comments per pull request: 0.0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- banister (4)
- jaymzh (2)
- zw963 (2)
- 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)
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
- Total packages: 3
-
Total downloads:
- rubygems: 95,470,321 total
- Total docker downloads: 292,680,716
- Total dependent packages: 390 (may contain duplicates)
- Total dependent repositories: 7,837 (may contain duplicates)
- Total versions: 121
- Total maintainers: 3
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.3 (published 20 days ago)
- Last Synced: 2026-04-28T00:02:25.021Z (3 days ago)
- Versions: 60
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 47,746,607 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.3 (published 20 days ago)
- Last Synced: 2026-04-27T00:01:07.808Z (4 days ago)
- Versions: 60
- Dependent Packages: 390
- Dependent Repositories: 7,837
- Downloads: 47,723,714 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#n9416
- Licenses: expat
- Latest release: 0.5.1 (published about 2 months ago)
- Last Synced: 2026-04-27T16:18:24.369Z (4 days ago)
- Versions: 1
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 100%
Dependencies
- rake ~> 0.9 development
- rspec ~> 3.9 development
- binding_of_caller ~> 1.0
- pry ~> 0.13
Score: 28.75002536122641