call'", [20] "/Users/seanmackesey/.rvm/gems/ruby-1.9.3-p194/gems/methadone-1.2.4/lib/methadone/main.rb:366:in
call_main'",
[21] "/Users/seanmackesey/.rvm/gems/ruby-1.9.3-p194/gems/methadone-1.2.4/lib/methadone/main.rb:165:ingo!'", [22] "bin/transform:30:in
The below code causes an infinite loop:
printing this to standard output over and over again:
Hitting
Ctrl-c
stops the loop and prints this message:Then the
binding.pry
in the rescue block is triggered.e
gives:e.backtrace
seems to be looping infinitely over these lines:another
, an argument passed into the method, gives this:Removal of the rescue block causes the code to work fine.