Spelunking in Ruby

Here are some resources to help you in debugging your code. Based off my Spelunking in Ruby presentation for Barcelona Ruby Conf, September 2014.

Slides are available on Speakerdeck

General

Pry

Hometown

  • Hometown: A gem for tracking object creation

JRuby

  • VisualVM: Heap dumps and profiling for JRuby

Rubinius

GDB

strace

rbtrace

  • rbtrace: Like strace for Ruby, from Aman Gupta