From: Clifford Heath Date: 2011-05-27T09:19:14+09:00 Subject: [ruby-core:36501] Re: Error reporting, backtraces and the debugger On 26/05/2011, at 1:22 PM, Roger Pack wrote: >> (3) Adding the method-call binding to each exception entry (like rbx' >> MethodContext) > This is an interesting idea, though possibly a bit tricky. Rubinius does it. See also the gist mentioned in my other post. >> (4) Providing a debugger hook that can be called when an exception >> object is >> *about* to be thrown, but before it actually is thrown. > Does catch Exception do this? Well, I learn something new every day. Thanks Roger! Any more thoughts on this general subject, anyone? This area of Ruby's reflection stands out as being much weaker than others... Clifford Heath.