{"id":13879677,"url":"https://github.com/pry/pry-stack_explorer","last_synced_at":"2025-05-15T07:04:59.909Z","repository":{"id":2305015,"uuid":"3264047","full_name":"pry/pry-stack_explorer","owner":"pry","description":"Walk the stack in a Pry session","archived":false,"fork":false,"pushed_at":"2021-02-08T05:15:39.000Z","size":172,"stargazers_count":452,"open_issues_count":15,"forks_count":28,"subscribers_count":21,"default_branch":"master","last_synced_at":"2025-05-06T10:39:32.174Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pry.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2012-01-25T10:38:25.000Z","updated_at":"2025-01-24T00:02:05.000Z","dependencies_parsed_at":"2022-07-19T15:04:07.998Z","dependency_job_id":null,"html_url":"https://github.com/pry/pry-stack_explorer","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pry%2Fpry-stack_explorer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pry%2Fpry-stack_explorer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pry%2Fpry-stack_explorer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pry%2Fpry-stack_explorer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pry","download_url":"https://codeload.github.com/pry/pry-stack_explorer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253415807,"owners_count":21904927,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-06T08:02:28.638Z","updated_at":"2025-05-15T07:04:54.862Z","avatar_url":"https://github.com/pry.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"pry-stack_explorer\n===========\n\n_Walk the stack in a Pry session_\n\n---\n\nPry::StackExplorer is a plugin for [Pry](http://pry.github.com)\nthat allows navigating the call stack.\n\nFrom the point a Pry session is started, the user can move up the stack\nthrough parent frames, examine state, and even evaluate code.\n\nUnlike `ruby-debug`, pry-stack_explorer incurs no runtime cost and\nenables navigation right up the call-stack to the birth of the\nprogram.\n\nThe `up`, `down`, `frame` and `stack` commands are provided. See\nPry's in-session help for more information on any of these commands.\n\n## Usage\nProvides commands available in Pry sessions.\n\nCommands:\n* `up`/`down` - Move up or down the call stack\n* `frame [n]` - Go to frame *n*\n* `stack` - Show call stack\n\n\n## Install\n\nIn Gemfile:\n```rb\ngem 'pry-stack_explorer', '~\u003e 0.6.0'\n```\n\n```\ngem install pry-stack_explorer\n```\n\n* Read the [documentation](http://rdoc.info/github/banister/pry-stack_explorer/master/file/README.md)\n* See the [wiki](https://github.com/pry/pry-stack_explorer/wiki) for in-depth usage information.\n\n\n### Branches and compatible Ruby versions\n* v0.5, v0.6: Ruby 2.6+, Pry 0.13+\n* v0.4.11+: Ruby 2.5, Pry 0.12+ (branch `0-4` – end-of-life in March 2021)\n* v0.4.9.3: Older versions (unsupported)\n\nExample:\n--------\nHere we run the following ruby script:\n```Ruby\nrequire 'pry-stack_explorer'\n\ndef alpha\n  x = \"hello\"\n  beta\n  puts x\nend\n\ndef beta\n  binding.pry\nend\n\nalpha\n```\n\nWe wander around the stack a little bit, and modify the state of a frame above the one we `binding.pry`'d at.\n\n[![asciicast](https://asciinema.org/a/257713.svg)](https://asciinema.org/a/257713)\n\nOutput from above is `Goodbye` as we changed the `x` local inside the `alpha` (caller) stack frame.\n\n\nLicense\n-------\nReleased under the [MIT License](https://github.com/pry/pry-stack_explorer/blob/master/LICENSE) by John Mair (banisterfiend) and contributors\n\nContributions to this gem are released under the same license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpry%2Fpry-stack_explorer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpry%2Fpry-stack_explorer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpry%2Fpry-stack_explorer/lists"}