[Yarv-devel] backtrace format

SASADA Koichi ko1 at atdot.net
Sun Jul 31 21:56:16 EDT 2005


Hi,

gabriele renzi wrote:
> And, while we're talking about backtraces, what about
> the idea outlined here[1]?
> 
> It is basically about adding argument informations to
> the backtrace i.e. replacing
>  from /foo.rb:18:in `bar'
> with
>  from /foo.rb:18:in `bar(10, nil)'
> 
> I think this would be a really nice help to easily
> spot problems, but I don't know how it would impact on
> the VM performance.
> 
> [1]http://pezra.barelyenough.org/blog/2005/04/ruby-backtraces/

I think it's difficult to implement. Because object.inspect can cause
exception.

Of course, there is big impact on VM performance.

-- 
// SASADA Koichi at atdot dot net
//


More information about the Yarv-devel mailing list