Hackathon has ended.
Checkpoint Rails: Debugging for Rails Made Easy
Checkpoint Rails is a rolling, checkpoint debugger for Rails. It records all of the critical method calls within your app, along with their important context (param/argument/return/local variable values).
You no longer need to debug with binding.pry or puts statements, as the entire callstack for a given request is captured.
https://www.youtube.com/watch?v=NGqnwcNWv_k
You no longer need to debug with binding.pry or puts statements, as the entire callstack for a given request is captured.
https://www.youtube.com/watch?v=NGqnwcNWv_k
Team Jim Jones
Central Time (US & Canada)
![](https://secure.gravatar.com/avatar/52bc5b19a9595553e41f21e81f70edc1.png?default=mp&rating=pg&size=128)
Built with:
checkpoint-rails is a Rails engine. It's available as a gem to install within your own applications.
It utilizes Ruby's TracePoint class for the tracking of method call/returns.
TracePoint is enabled/disabled via the Active Support Instrumentation callbacks, start_processing.action_controller and process_action.action_controller.
Add this line to your application's Gemfile:
It utilizes Ruby's TracePoint class for the tracking of method call/returns.
TracePoint is enabled/disabled via the Active Support Instrumentation callbacks, start_processing.action_controller and process_action.action_controller.
Add this line to your application's Gemfile:
gem "checkpoint-rails"
Add the following to your routes file
if Rails.env.development? || Rails.env.test? mount Checkpoint::Rails::Engine, at: "/checkpoint" end
And then execute:
$ bundle
Usage
In development, open http://localhost:3000/checkpoint/ in a separate tab to observe the live call stack.
Application Screenshots
![](https://railshackathon.com/rails/active_storage/representations/redirect/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBWHc9IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--4c64248bce30422cc884d8c106ea69a1d13fc9f7/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lJYW5CbkJqb0dSVlE2RkhKbGMybDZaVjkwYjE5c2FXMXBkRnNIYVFMMEFXa0M5QUU9IiwiZXhwIjpudWxsLCJwdXIiOiJ2YXJpYXRpb24ifX0=--aae3385c25b48625f4d0fa5e3505608f44e51a90/checkpoint-rails-full.jpg)