backtracer
Version, currently 1.2.07 versions
github.com/Sija/backtracer.cr
Crystal shard aiming to assist with parsing backtraces into a structured form.
Nothing has been indexed for 1.2.0 yet. The tag is recorded, its shard.yml has not been read, so the manifest and dependency list below are empty because they are unknown rather than because they are absent.
Installation
# Add this to your shard.yml
dependencies:
backtracer:
github: Sija/backtracer.cr
version: ~> 1.2.0Then run:
shards installshard.yml
No shard.yml has been indexed for 1.2.0. You can read it on the repository.
Dependencies
Unknown: the shard.yml for this version has not been read yet.
README
This README is the one indexed from the repository at its latest ref, not from the tag for this version.
backtracer.cr

Crystal shard aiming to assist with parsing backtraces into a structured form.
Installation
-
Add the dependency to your
shard.yml:dependencies: backtracer: github: Sija/backtracer.cr -
Run
shards install
Usage
require "backtracer"
def foo
raise "bang!"
end
def bar
foo
end
def baz
bar
end
begin
baz
rescue ex
backtrace = Backtracer.parse(ex.backtrace)
# Prints
#
# `foo` at foo.cr:4:3
# `bar` at foo.cr:8:3
# `baz` at foo.cr:12:3
# ...
backtrace.frames.each do |frame|
puts frame
end
end
Contributing
- Fork it (https://github.com/Sija/backtracer.cr/fork)
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request
Contributors
- @Sija Sijawusz Pur Rahnama - creator and maintainer
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
1.2.0- Tagged
- Jun 18, 2026
- Commit
63ca71ba5648- Indexed
- not yet
Dependents
Repository
github.com/Sija/backtracer.cr
Metadata
- Created
- Aug 12, 2026
- Updated
- Sep 19, 2026
- Synced
- Sep 19, 2026
- Versions
- 7