https://github.com/gsamokovarov/skiptrace
Bindings for your Ruby exceptions
https://github.com/gsamokovarov/skiptrace
Keywords from Contributors
rubygems activejob activerecord mvc rspec rack feature-flag
Last synced: about 21 hours ago
JSON representation
Repository metadata
Bindings for your Ruby exceptions
- Host: GitHub
- URL: https://github.com/gsamokovarov/skiptrace
- Owner: gsamokovarov
- License: mit
- Created: 2014-12-06T19:52:59.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2023-08-23T07:20:27.000Z (over 2 years ago)
- Last Synced: 2026-01-13T06:37:16.878Z (about 2 months ago)
- Language: Ruby
- Homepage:
- Size: 203 KB
- Stars: 18
- Watchers: 1
- Forks: 6
- Open Issues: 3
- Releases: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
README.md
Skiptrace 
When Ruby raises an exception, it leaves a backtrace to help you figure out
where the exception originated in. Skiptrace gives you the bindings as well.
This can help you introspect the state of the Ruby program when the exception
occurred.
Usage
Do not use this gem on production environments. The performance penalty isn't
worth it anywhere outside of development.
API
Skiptrace defines the following API:
Exception#bindings
Returns all the bindings up to the one in which the exception originated in.
Exception#binding_locations
Returns an array of Skiptrace::Location objects that are like Thread::Backtrace::Location
but also carry a Binding object for that frame through the #binding method.
Skiptrace.current_bindings
Returns all of the current Ruby execution state bindings. The first one is the
current one, the second is the caller one, the third is the caller of the
caller one and so on.
Support
CRuby
CRuby 2.5.0 and above is supported.
JRuby
To get the best support, run JRuby in interpreted mode.
export JRUBY_OPTS=--dev
Only JRuby 9k is supported.
Rubinius
Internal errors like ZeroDevisionError aren't caught.
Credits
Thanks to John Mair for his work on binding_of_caller, which is a huge
inspiration. Thanks to Charlie Somerville for better_errors where the idea
comes from. Thanks to Koichi Sasada for the debug inspector API in CRuby.
Owner metadata
- Name: Genadi Samokovarov
- Login: gsamokovarov
- Email:
- Kind: user
- Description:
- Website: http://gsamokovarov.com
- Location: Sofia, Bulgaria
- Twitter:
- Company: @dext
- Icon url: https://avatars.githubusercontent.com/u/604618?u=c591756877a513cc001185f73c855a466e49c9fa&v=4
- Repositories: 118
- Last ynced at: 2023-03-15T11:30:30.622Z
- Profile URL: https://github.com/gsamokovarov
GitHub Events
Total
Last Year
Committers metadata
Last synced: 2 days ago
Total Commits: 113
Total Committers: 4
Avg Commits per committer: 28.25
Development Distribution Score (DDS): 0.027
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 | Commits | |
|---|---|---|
| Genadi Samokovarov | g****v@g****m | 110 |
| Vít Ondruch | v****h@r****m | 1 |
| Olle Jonsson | o****n@g****m | 1 |
| Alex Popov | A****v | 1 |
Committer domains:
- redhat.com: 1
Issue and Pull Request metadata
Last synced: 9 days ago
Total issues: 7
Total pull requests: 5
Average time to close issues: about 5 hours
Average time to close pull requests: 7 months
Total issue authors: 7
Total pull request authors: 5
Average comments per issue: 3.71
Average comments per pull request: 1.4
Merged pull request: 3
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
Top Issue Authors
- olleolleolle (1)
- QzzIsCoding (1)
- pragadeesh2050 (1)
- afuno (1)
- rezonant (1)
- cahyowhy (1)
- enebo (1)
Top Pull Request Authors
- ujjwalsh (1)
- AlexVPopov (1)
- voxik (1)
- olleolleolle (1)
- jaynetics (1)
Top Issue Labels
Top Pull Request Labels
Package metadata
- Total packages: 2
-
Total downloads:
- rubygems: 24,064 total
- Total dependent packages: 0 (may contain duplicates)
- Total dependent repositories: 1 (may contain duplicates)
- Total versions: 8
- Total maintainers: 1
gem.coop: skiptrace
Bindings for your Ruby exceptions
- Homepage: https://github.com/gsamokovarov/skiptrace
- Documentation: http://www.rubydoc.info/gems/skiptrace/
- Licenses: MIT
- Latest release: 0.8.1 (published over 6 years ago)
- Last Synced: 2026-02-27T19:01:41.860Z (4 days ago)
- Versions: 4
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 12,032 Total
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Average: 14.156%
- Downloads: 42.467%
- Maintainers (1)
rubygems.org: skiptrace
Bindings for your Ruby exceptions
- Homepage: https://github.com/gsamokovarov/skiptrace
- Documentation: http://www.rubydoc.info/gems/skiptrace/
- Licenses: MIT
- Latest release: 0.8.1 (published over 6 years ago)
- Last Synced: 2026-02-27T19:01:41.854Z (4 days ago)
- Versions: 4
- Dependent Packages: 0
- Dependent Repositories: 1
- Downloads: 12,032 Total
-
Rankings:
- Forks count: 12.097%
- Stargazers count: 12.133%
- Dependent packages count: 15.783%
- Dependent repos count: 21.702%
- Average: 21.901%
- Downloads: 47.789%
- Maintainers (1)
Dependencies
- rubysl-mutex_m >= 0
- rubysl-open3 >= 0
- rubysl-singleton >= 0
- bundler >= 0 development
- minitest ~> 5.4 development
- rake >= 0 development
- rake-compiler >= 0 development
- bundler >= 0 development
- minitest ~> 5.4 development
- rake >= 0 development
- rake-compiler >= 0 development
Score: 14.519372133841422