Skip to content

Instantly share code, notes, and snippets.

View elliot-nelson's full-sized avatar
🦈
Computer Science Lullaby

Elliot Nelson elliot-nelson

🦈
Computer Science Lullaby
View GitHub Profile
@jbgo
jbgo / debug_system_stack_error.md
Created January 9, 2013 15:08
debug SystemStackError in ruby 1.9

This is how I debug SystemStackError when there is no stack trace.

My first attempt was:

begin
  a_method_that_causes_infinite_recursion_in_a_not_obvious_way
rescue SystemStackError
  puts caller
end