JoshCheek / seeing_is_believing

Displays the results of every line of code in your file
1.31k stars 54 forks source link

Should work when the exception doesn't have a backtrace #140

Open JoshCheek opened 6 years ago

JoshCheek commented 6 years ago

In https://github.com/JoshCheek/seeing_is_believing/issues/134 there was a bug in Ruby where the exception didn't have a backtrace (I think because it never got raised, it just got set somehow, so then it went into the at_exit block which passed it to the lib).

Prob no way to truly this without writing C code (since I'll need to override the methods with refinements, anyway), and it is just compensating for a bug in the interpreter, but still, it shouldn't explode when this happens.