Welcome to the Ruby Debugging repository. Te goal of this repository is to get you familiar with common debugging tools and idioms. At the end of it I hope you will have a better understanding of Ruby itself.
Each exercise will present new idioms or reinforce existing ones.
Topics covered:
- pry-byebug
- ancestors
- singleton_class.ancestors
- methods
- methods.grep
- instance_methods
- public_methods
- private_methods
- method(:method_name).source_location
- method(:method_name).super_method.source_location
- backtrace
- caller
- Ruby version
2.3
or higher gem install pry-byebug
- Clone this repository
- Work your way through each level, for example:
cd 01/
ruby main.rb
Every solved exercise should include the following output.
Framework: Ruby
Version: 2.6.2
Workshop: Ruby debugging
- Open an Issue or Pull Request
- Reach out @bernardo_amc on Twitter